Skip to content

Commit ff1da9d

Browse files
committed
fix: nginx version & grunt issues
1 parent e60dc5b commit ff1da9d

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

nginx-http2/Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,20 @@ LABEL org.opencontainers.image.authors="j@srv.im"
44

55
EXPOSE 80/tcp 443/tcp
66

7-
ENV NGINX_VERSION 1.15.12
7+
ENV NGINX_VERSION 1.26.3
88

9-
RUN apk add --no-cache openssl-dev pcre-dev zlib-dev build-base \
9+
RUN apk add --no-cache openssl-dev~=3.0 pcre-dev zlib-dev build-base \
1010
&& wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
1111
&& tar -xzvf nginx-${NGINX_VERSION}.tar.gz \
1212
&& cd nginx-${NGINX_VERSION} \
1313
&& ./configure \
14-
--with-http_v2_module \
15-
--with-http_ssl_module \
16-
--with-http_realip_module \
17-
--with-http_stub_status_module \
18-
--with-threads \
19-
--with-ipv6 \
14+
--with-http_v2_module \
15+
--with-http_ssl_module \
16+
--with-openssl-opt=enable-tls1_3 \
17+
--with-http_realip_module \
18+
--with-http_stub_status_module \
19+
--with-threads \
20+
--with-ipv6 \
2021
&& make -j$(getconf _NPROCESSORS_ONLN) \
2122
&& make install \
2223
&& apk del build-base \

0 commit comments

Comments
 (0)