From 51104804e7274637c2bb1efbfd992fef8fd0e5b1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 5 Apr 2022 22:12:09 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-BUSYBOX-2440607 - https://snyk.io/vuln/SNYK-ALPINE315-BUSYBOX-2440607 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 25f5850..48ad533 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app COPY ./ ./ RUN go build -o ./cf-argo-plugin -FROM alpine +FROM alpine:3.15.4 RUN apk --update add curl bash RUN curl -L https://github.com/argoproj/argo-rollouts/releases/latest/download/kubectl-argo-rollouts-linux-amd64 -o /usr/local/bin/kubectl-argo-rollouts RUN chmod +x /usr/local/bin/kubectl-argo-rollouts