From f82d83d6df2e3580b5ca6cc974766875ebc59bff Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 18 Apr 2023 17:12:27 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE312-APKTOOLS-1533753 - https://snyk.io/vuln/SNYK-ALPINE312-CURL-1585256 - https://snyk.io/vuln/SNYK-ALPINE312-FREETYPE-2809179 - https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1569452 - https://snyk.io/vuln/SNYK-ALPINE312-ZLIB-2977082 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b91032..121b0a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM nginx:1.19.6-alpine AS builder +FROM nginx:1.24-alpine AS builder ENV NCHAN_VERSION 1.2.5 @@ -27,7 +27,7 @@ RUN CONFARGS=$(nginx -V 2>&1 | sed -n -e 's/^.*arguments: //p') \ ./configure --with-compat $CONFARGS --add-dynamic-module=$NCHANDIR && \ make && make install -FROM nginx:1.19.6-alpine +FROM nginx:1.24-alpine COPY --from=builder /usr/local/nginx/modules/ngx_nchan_module.so /usr/local/nginx/modules/ngx_nchan_module.so