Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# https://hg.nginx.org/nginx/file/tip/src/core/nginx.h
ARG NGINX_VERSION=1.29.3
# https://github.com/nginx/nginx/blob/master/src/core/nginx.h
ARG NGINX_VERSION=1.29.4

# https://hg.nginx.org/nginx/
ARG NGINX_COMMIT=279676b97237
# https://github.com/nginx/nginx/releases
ARG NGINX_COMMIT=c704574

# https://github.com/google/ngx_brotli
ARG NGX_BROTLI_COMMIT=a71f9312c2deb28875acc7bacfdd5695a111aa53
Expand Down Expand Up @@ -108,7 +108,6 @@ RUN \
libxslt-dev \
linux-headers \
make \
mercurial \
musl-dev \
ninja \
openssl-dev \
Expand Down Expand Up @@ -139,8 +138,10 @@ RUN \
WORKDIR /usr/src/

RUN \
echo "Cloning nginx $NGINX_VERSION (rev $NGINX_COMMIT from 'default' branch) ..." \
&& hg clone -b default --rev $NGINX_COMMIT https://hg.nginx.org/nginx/ /usr/src/nginx-$NGINX_VERSION
echo "Cloning nginx $NGINX_VERSION (rev $NGINX_COMMIT) ..." \
&& git clone https://github.com/nginx/nginx.git /usr/src/nginx-$NGINX_VERSION \
&& cd /usr/src/nginx-$NGINX_VERSION \
&& git reset --hard $NGINX_COMMIT

RUN \
echo "Cloning brotli $NGX_BROTLI_COMMIT ..." \
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ docker pull ghcr.io/macbre/nginx-http3:latest

```
$ docker run -it macbre/nginx-http3 nginx -V
nginx version: nginx/1.29.3 (279676b97237)
nginx version: nginx/1.29.4 (c704574)
built by gcc 13.2.1 20240309 (Alpine 13.2.1_git20240309)
built with OpenSSL 3.3.5 30 Sep 2025
TLS SNI support enabled
configure arguments:
--build=279676b97237
--build=c704574
--prefix=/etc/nginx
--sbin-path=/usr/sbin/nginx
--modules-path=/usr/lib/nginx/modules
Expand Down