From 32c061e4745d7bab43eb2de4349cd85a49ab4fc7 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 12 Jan 2024 14:08:52 +0000 Subject: [PATCH] fix: release/preview/alpine312/docker/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-OPENSSL-1075735 - https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1569452 - https://snyk.io/vuln/SNYK-ALPINE312-OPENSSL-1569452 - https://snyk.io/vuln/SNYK-ALPINE312-ZLIB-2977082 --- release/preview/alpine312/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/preview/alpine312/docker/Dockerfile b/release/preview/alpine312/docker/Dockerfile index 659f3f22c..a71ea8211 100644 --- a/release/preview/alpine312/docker/Dockerfile +++ b/release/preview/alpine312/docker/Dockerfile @@ -24,7 +24,7 @@ RUN mkdir -p ${PS_INSTALL_FOLDER} RUN tar zxf /tmp/linux.tar.gz -C ${PS_INSTALL_FOLDER} -v # Start a new stage so we lose all the tar.gz layers from the final image -FROM alpine:3.12.1 +FROM alpine:3.16 # Copy only the files we need from the previous stage COPY --from=installer-env ["/opt/microsoft/powershell", "/opt/microsoft/powershell"]