From cd41f84b88e5fa76302d753185da9c98a2dd0206 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 13 May 2022 00:40:12 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-GIT-2635965 - https://snyk.io/vuln/SNYK-DEBIAN11-GIT-2635965 - https://snyk.io/vuln/SNYK-DEBIAN11-GZIP-2444256 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808697 - https://snyk.io/vuln/SNYK-DEBIAN11-PCRE2-2808704 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 23091c2..479b6bd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ # docker build . # docker tag xxxx cs3org/cs3apis:latest # docker push cs3org/cs3apis -FROM golang +FROM golang:1.18-bullseye RUN apt-get update RUN apt-get install build-essential curl unzip sudo -y RUN apt-get install python3-pip -y