Skip to content

Commit fe887ef

Browse files
authored
Add support for HTTP3
1 parent f9fe877 commit fe887ef

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM alpine:3.10
1+
FROM alpine:latest
22

33
LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
44

5-
ENV NGINX_VERSION 1.17.2
5+
ENV NGINX_VERSION 1.16.1
66

77
RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
88
&& CONFIG="\
@@ -50,6 +50,9 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
5050
--with-compat \
5151
--with-file-aio \
5252
--with-http_v2_module \
53+
--with-http_v3_module \
54+
--with-openssl=/usr/src/quiche/deps/boringssl \
55+
--with-quiche=/usr/src/quiche \
5356
--add-module=/usr/src/ngx_brotli \
5457
" \
5558
&& addgroup -S nginx \
@@ -78,11 +81,13 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
7881
&& mkdir -p /usr/src \
7982
&& cd /usr/src \
8083
&& git clone --recursive https://github.com/eustas/ngx_brotli.git \
84+
&& git clone --recursive https://github.com/cloudflare/quiche \
8185
&& curl -fSL https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz -o nginx.tar.gz \
8286
&& mkdir -p /usr/src \
8387
&& tar -zxC /usr/src -f nginx.tar.gz \
8488
&& rm nginx.tar.gz \
8589
&& cd /usr/src/nginx-$NGINX_VERSION \
90+
&& patch -p01 < /usr/src/quiche/extras/nginx/nginx-1.16.patch
8691
&& ./configure $CONFIG --with-debug \
8792
&& make -j$(getconf _NPROCESSORS_ONLN) \
8893
&& mv objs/nginx objs/nginx-debug \

0 commit comments

Comments
 (0)