1
1
# https://hg.nginx.org/nginx/file/tip/src/core/nginx.h
2
- ARG NGINX_VERSION=1.25.2
2
+ ARG NGINX_VERSION=1.25.3
3
3
4
4
# https://hg.nginx.org/nginx
5
- ARG NGINX_COMMIT=44536076405c
5
+ ARG NGINX_COMMIT=25a2efd97a3e
6
6
7
7
# https://github.com/google/ngx_brotli
8
8
ARG NGX_BROTLI_COMMIT=63ca02abdcf79c9e788d2eedcc388d2335902e52
9
9
10
10
# https://github.com/google/boringssl
11
- ARG BORINGSSL_COMMIT=e1b8685770d0e82e5a4a3c5d24ad1602e05f2e83
11
+ # ARG BORINGSSL_COMMIT=fae0964b3d44e94ca2a2d21f86e61dabe683d130
12
12
13
13
# http://hg.nginx.org/njs / v0.8.1
14
14
ARG NJS_COMMIT=a387eed79b90
@@ -26,7 +26,7 @@ ARG NGINX_GROUP_GID=101
26
26
27
27
# https://nginx.org/en/docs/http/ngx_http_v3_module.html
28
28
ARG CONFIG="\
29
- --build=quic-$NGINX_COMMIT-boringssl-$BORINGSSL_COMMIT \
29
+ --build=quic-$NGINX_COMMIT \
30
30
--prefix=/etc/nginx \
31
31
--sbin-path=/usr/sbin/nginx \
32
32
--modules-path=/usr/lib/nginx/modules \
@@ -78,7 +78,7 @@ ARG CONFIG="\
78
78
--add-dynamic-module=/usr/src/ngx_http_geoip2_module \
79
79
"
80
80
81
- FROM alpine:3.17 AS base
81
+ FROM alpine:3.19 AS base
82
82
83
83
ARG NGINX_VERSION
84
84
ARG NGINX_COMMIT
@@ -137,20 +137,20 @@ RUN \
137
137
&& git submodule update --init --depth 1
138
138
139
139
# hadolint ignore=SC2086
140
- RUN \
141
- echo "Cloning boringssl ..." \
142
- && cd /usr/src \
143
- && git clone https://github.com/google/boringssl \
144
- && cd boringssl \
145
- && git checkout $BORINGSSL_COMMIT
146
-
147
- RUN \
148
- echo "Building boringssl ..." \
149
- && cd /usr/src/boringssl \
150
- && mkdir build \
151
- && cd build \
152
- && cmake -GNinja .. \
153
- && ninja
140
+ # RUN \
141
+ # echo "Cloning boringssl ..." \
142
+ # && cd /usr/src \
143
+ # && git clone https://github.com/google/boringssl \
144
+ # && cd boringssl \
145
+ # && git checkout $BORINGSSL_COMMIT
146
+
147
+ # RUN \
148
+ # echo "Building boringssl ..." \
149
+ # && cd /usr/src/boringssl \
150
+ # && mkdir build \
151
+ # && cd build \
152
+ # && cmake -GNinja .. \
153
+ # && ninja
154
154
155
155
RUN \
156
156
echo "Downloading headers-more-nginx-module ..." \
@@ -177,9 +177,6 @@ RUN \
177
177
&& mkdir -p /var/run/nginx/ \
178
178
&& cd /usr/src/nginx-$NGINX_VERSION \
179
179
&& ./auto/configure $CONFIG \
180
- --with-cc-opt="-I../boringssl/include" \
181
- --with-ld-opt="-L../boringssl/build/ssl \
182
- -L../boringssl/build/crypto" \
183
180
&& make -j"$(getconf _NPROCESSORS_ONLN)"
184
181
185
182
RUN \
@@ -206,7 +203,7 @@ RUN \
206
203
| xargs -r apk info --installed \
207
204
| sort -u > /tmp/runDeps.txt
208
205
209
- FROM alpine:3.17
206
+ FROM alpine:3.19
210
207
ARG NGINX_VERSION
211
208
ARG NGINX_COMMIT
212
209
ARG NGINX_USER_UID
0 commit comments