|
|
|
@ -1,4 +1,4 @@ |
|
|
|
FROM ubuntu:20.04 AS builder |
|
|
|
FROM debian:12 AS builder |
|
|
|
|
|
|
|
|
|
|
|
LABEL maintainer="Yury Muski <muski.yury@gmail.com>" |
|
|
|
LABEL maintainer="Yury Muski <muski.yury@gmail.com>" |
|
|
|
|
|
|
|
|
|
|
|
@ -61,7 +61,6 @@ RUN curl -O https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \ |
|
|
|
--with-stream_realip_module \ |
|
|
|
--with-stream_realip_module \ |
|
|
|
--with-stream_ssl_module \ |
|
|
|
--with-stream_ssl_module \ |
|
|
|
--with-stream_ssl_preread_module \ |
|
|
|
--with-stream_ssl_preread_module \ |
|
|
|
--with-debug \ |
|
|
|
|
|
|
|
--add-module=/opt/ngx_brotli \ |
|
|
|
--add-module=/opt/ngx_brotli \ |
|
|
|
--with-http_v3_module \ |
|
|
|
--with-http_v3_module \ |
|
|
|
--with-openssl=/opt/quiche/quiche/deps/boringssl \ |
|
|
|
--with-openssl=/opt/quiche/quiche/deps/boringssl \ |
|
|
|
@ -70,10 +69,7 @@ RUN curl -O https://nginx.org/download/nginx-$NGINX_VERSION.tar.gz && \ |
|
|
|
make && \ |
|
|
|
make && \ |
|
|
|
make install; |
|
|
|
make install; |
|
|
|
|
|
|
|
|
|
|
|
FROM ubuntu:20.04 |
|
|
|
FROM debian:12-slim |
|
|
|
|
|
|
|
|
|
|
|
RUN apt-get update && \ |
|
|
|
|
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y libpcre3 libbrotli1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COPY --from=builder /usr/sbin/nginx /usr/sbin/ |
|
|
|
COPY --from=builder /usr/sbin/nginx /usr/sbin/ |
|
|
|
COPY --from=builder /etc/nginx/ /etc/nginx/ |
|
|
|
COPY --from=builder /etc/nginx/ /etc/nginx/ |
|
|
|
|