Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Zoey <zoey@z0ey.de>
  • Loading branch information
Zoey2936 authored Dec 17, 2023
1 parent 63f13d8 commit 01fa3e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,27 @@ FROM alpine:3.19.0 as build

ARG CURL_VERSION=curl-8_5_0
ARG WS_VERSION=v5.6.4-stable
ARG NGH3_VERSION=v1.1.0b
ARG NT2_VERSION=v1.1.0a

RUN apk add --no-cache ca-certificates git build-base cmake autoconf automake coreutils libtool \
nghttp2-dev nghttp2-static zlib-dev zlib-static && \
\
git clone --recursive --branch "$WS_VERSION" https://github.com/wolfSSL/wolfssl /src/wolfssl && \
cd /src/wolfssl && \
/src/wolfssl/autogen.sh && \
/src/wolfssl/configure --prefix=/usr --enable-curl --disable-oldtls --enable-quic --enable-ech --disable-shared --enable-psk --enable-session-ticket --enable-earlydata --enable-static && \
/src/wolfssl/configure --prefix=/usr --enable-curl --disable-oldtls --enable-quic --enable-ech --enable-psk --enable-session-ticket --enable-earlydata --disable-shared --enable-static && \
make && \
make install && \
\
git clone --recursive https://github.com/ngtcp2/nghttp3 /src/nghttp3 && \
git clone --recursive --branch "$NGH3_VERSION" https://github.com/ngtcp2/nghttp3 /src/nghttp3 && \
cd /src/nghttp3 && \
autoreconf -fi && \
/src/nghttp3/configure --prefix=/usr --enable-lib-only --disable-shared --enable-static && \
make && \
make install && \
\
git clone --recursive https://github.com/ngtcp2/ngtcp2 /src/ngtcp2 && \
git clone --recursive --branch "$NT2_VERSION" https://github.com/ngtcp2/ngtcp2 /src/ngtcp2 && \
cd /src/ngtcp2 && \
autoreconf -fi && \
/src/ngtcp2/configure --prefix=/usr --with-wolfssl --enable-lib-only --disable-shared --enable-static && \
Expand Down

0 comments on commit 01fa3e1

Please sign in to comment.