updated nginx to 1.29.2
All checks were successful
CI / Build nginx docker images (push) Successful in 58s
All checks were successful
CI / Build nginx docker images (push) Successful in 58s
This commit is contained in:
@@ -2,8 +2,7 @@ ARG NGINX_BRANCH=vanilla
|
||||
FROM alpine:latest AS base
|
||||
|
||||
FROM alpine:latest AS build_stage_1
|
||||
ARG NGINX_VERSION LIBRESSL_VERSION=4.1.0
|
||||
ENV NGINX_VERSION=${NGINX_VERSION}
|
||||
ARG NGINX_VERSION LIBRESSL_VERSION
|
||||
RUN --mount=type=cache,target=/var/cache/apk apk update
|
||||
RUN --mount=type=cache,target=/var/cache/apk apk add \
|
||||
autoconf \
|
||||
@@ -41,8 +40,7 @@ RUN adduser -D luser
|
||||
USER luser
|
||||
WORKDIR /home/luser
|
||||
|
||||
#RUN git clone --depth 1 --branch v4.0.0 https://github.com/libressl/portable.git libressl
|
||||
#RUN git clone --depth 1 --branch v4.0.0 https://github.com/libressl/portable.git libressl
|
||||
#RUN git clone --depth 1 --branch v4.2.0 https://github.com/libressl/portable.git libressl
|
||||
#ADD --chown=luser:luser git@github.com:libressl/portable.git#v${LIBRESSL_VERSION} libressl
|
||||
ADD --chown=luser:luser https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-${LIBRESSL_VERSION}.tar.gz libressl.tgz
|
||||
RUN tar -xzf libressl.tgz && mv libressl-${LIBRESSL_VERSION} libressl && rm libressl.tgz
|
||||
@@ -97,7 +95,7 @@ RUN --mount=type=cache,target=/var/cache/apk apk del .install_deps
|
||||
|
||||
COPY --from=build /home/luser/libressl/openssl.cnf /etc/ssl/openssl.cnf
|
||||
COPY conf/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY conf/nginx.vh.no-default.conf /etc/nginx/conf.d/default.conf
|
||||
COPY conf/nginx.vh.no-default.conf /etc/nginx/conf.d/http/default.conf
|
||||
COPY conf/dhparam /etc/nginx/dhparam
|
||||
|
||||
LABEL description="NGINX Docker built top of LibreSSL" \
|
||||
|
||||
@@ -124,5 +124,9 @@ http {
|
||||
application/wasm;
|
||||
|
||||
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
include /etc/nginx/conf.d/http/*.conf;
|
||||
}
|
||||
|
||||
stream {
|
||||
include /etc/nginx/conf.d/stream/*.conf;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user