macbre / docker-nginx-http3

Stable and up-to-date root-less nginx with quic + http/3, google brotli compression, njs, GeoIP2, and Grade A+ SSL config
https://hub.docker.com/r/macbre/nginx-http3
159 stars 52 forks source link

Update Dockerfile #126

Open eous opened 7 months ago

eous commented 7 months ago

I needed to add the ssl_preread module and while I was there I updated the packages.

eous commented 7 months ago

---> Running in c98768f76d41 HOME=/root HOSTNAME=c98768f76d41 NGINX_COMMIT=7ec761f0365f NGINX_GROUP_GID=101 NGINX_USER_UID=100 NGINX_VERSION=1.25.3.1 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin PWD=/ SHLVL=1 Removing intermediate container c98768f76d41 ---> 1eaabecd55ea Step 51/57 : RUN njs -v ---> Running in 13ed883b3d47 0.8.3 Removing intermediate container 13ed883b3d47 ---> 8614ebdf6680 Step 52/57 : RUN nginx -V; nginx -t ---> Running in e1081d0832ff nginx version: nginx/1.25.4 (quic-7ec761f0365f-boringssl-580c04109e8a63d08582b3d948cf54849371a73e) built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r10) built with OpenSSL 1.1.1 (compatible; BoringSSL) (running with BoringSSL) TLS SNI support enabled configure arguments: --build=quic-7ec761f0365f-boringssl-580c04109e8a63d08582b3d948cf54849371a73e --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --modules-path=/usr/lib/nginx/modules --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-http_xslt_module=dynamic --with-http_image_filter_module=dynamic --with-http_geoip_module=dynamic --with-http_perl_module=dynamic --with-threads --with-stream --with-stream_ssl_module --with-stream_ssl_preread_module --with-stream_realip_module --with-stream_geoip_module=dynamic --with-http_slice_module --with-mail --with-mail_ssl_module --with-compat --with-file-aio --with-http_v2_module --with-http_v3_module --add-module=/usr/src/ngx_brotli --add-module=/usr/src/headers-more-nginx-module-0.35 --add-module=/usr/src/njs/nginx --add-dynamic-module=/usr/src/ngx_http_geoip2_module --with-cc-opt=-I../boringssl/include --with-ld-opt='-L../boringssl/build/ssl -L../boringssl/build/crypto' nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful Removing intermediate container e1081d0832ff ---> 1298d96b7761 Step 53/57 : EXPOSE 8080 8443 ---> Running in cbda756d15b4 Removing intermediate container cbda756d15b4 ---> 1fccecf705a9 Step 54/57 : STOPSIGNAL SIGTERM ---> Running in 84154a091cc1 Removing intermediate container 84154a091cc1 ---> c9e5dbed8de1 Step 55/57 : RUN chown --verbose nginx:nginx /var/run/nginx.pid ---> Running in 0522f707a967 changed ownership of '/var/run/nginx.pid' to 100:101 Removing intermediate container 0522f707a967 ---> 1a47164e1dfa Step 56/57 : USER nginx ---> Running in 3fdbf0a007ba Removing intermediate container 3fdbf0a007ba ---> 2e2e7b04c619 Step 57/57 : CMD ["nginx", "-g", "daemon off;"] ---> Running in a14a0d664c13 Removing intermediate container a14a0d664c13 ---> 9d9a61004deb Successfully built 9d9a61004deb Successfully tagged nginx:latest