Skip to content

Commit 6550018

Browse files
committed
nginx: stable=1.26.1
1 parent 0e0ee63 commit 6550018

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

stable-alpine.Dockerfile

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM alpine:latest
22

3-
ENV NGINX_VERSION=1.24.0
3+
ENV NGINX_VERSION=1.26.1
44

5-
RUN GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
5+
RUN GPG_KEYS=D6786CE303D9A9022998DC6CC8464D549AF75C0A \
66
&& CONFIG="\
77
--prefix=/etc/nginx \
88
--sbin-path=/usr/sbin/nginx \
@@ -48,8 +48,7 @@ RUN GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
4848
--with-compat \
4949
--with-file-aio \
5050
--with-http_v2_module \
51-
--with-cc-opt=-I/usr/src/boringssl/.openssl/include \
52-
--with-ld-opt=-L/usr/src/boringssl/.openssl/lib \
51+
--with-http_v3_module \
5352
--add-dynamic-module=/usr/src/ngx_headers_more \
5453
--add-dynamic-module=/usr/src/ngx_brotli \
5554
--add-dynamic-module=/usr/src/njs/nginx \
@@ -118,7 +117,7 @@ RUN GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
118117
&& make -C/usr/src/boringssl/build -j$(getconf _NPROCESSORS_ONLN) \
119118
) \
120119
&& cd /usr/src/nginx-$NGINX_VERSION \
121-
&& curl -fSL https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/0.5/nginx__dynamic_tls_records_1.17.7%2B.patch -o dynamic_tls_records.patch \
120+
&& curl -fSL https://raw.githubusercontent.com/nginx-modules/ngx_http_tls_dyn_size/master/nginx__dynamic_tls_records_1.25.1%2B.patch -o dynamic_tls_records.patch \
122121
&& patch -p1 < dynamic_tls_records.patch \
123122
&& ./configure $CONFIG --with-debug --with-cc-opt="-I/usr/src/boringssl/include" --with-ld-opt="-L/usr/src/boringssl/build/ssl -L/usr/src/boringssl/build/crypto" \
124123
&& make -j$(getconf _NPROCESSORS_ONLN) \
@@ -146,7 +145,7 @@ RUN GPG_KEYS=13C82A63B603576156E30A4EA0EA981B66B0D967 \
146145
&& strip /usr/sbin/nginx* \
147146
&& strip /usr/lib/nginx/modules/*.so \
148147
&& rm -rf /usr/src/nginx-$NGINX_VERSION \
149-
&& rm -rf /usr/src/boringssl /usr/src/ngx_* \
148+
&& rm -rf /usr/src/boringssl /usr/src/ngx_* /usr/src/njs \
150149
\
151150
# Bring in gettext so we can get `envsubst`, then throw
152151
# the rest away. To do this, we need to install `gettext`
@@ -182,8 +181,8 @@ LABEL description="NGINX Docker built top of rolling release BoringSSL" \
182181
nginx="nginx $NGINX_VERSION" \
183182
arch="$APK_ARCH"
184183

185-
EXPOSE 80 443
184+
EXPOSE 80 443 443/udp
186185

187186
STOPSIGNAL SIGTERM
188187

189-
CMD ["nginx", "-g", "daemon off;"]
188+
CMD ["nginx", "-g", "daemon off;"]

0 commit comments

Comments
 (0)