fixed nginx imageTLS configuration
Some checks failed
CI / Build nginx docker images (push) Has been cancelled

This commit is contained in:
2025-09-08 04:18:27 +08:00
parent 5dad514ef4
commit e7f6352c7a
4 changed files with 21 additions and 9 deletions

View File

@@ -91,12 +91,14 @@ RUN --mount=type=cache,target=/var/cache/apk \
--mount=type=bind,from=build,source=/ngx_headers_more,target=/ngx_headers_more \
--mount=type=bind,from=build,source=/ngx_brotli,target=/ngx_brotli \
--mount=type=bind,from=build,source=/njs,target=/njs \
--mount=type=bind,source=install.sh,target=/install.sh \
--mount=type=bind,source=install.sh,target=/install.sh \
(cd nginx && sh /install.sh)
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/dhparam /etc/nginx/dhparam
LABEL description="NGINX Docker built top of LibreSSL" \
maintainer="Walter Oggioni <oggioni.walter@gmail.com>" \