From b0c91e1da30028a3c534cfb4cf1c726573825f43 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Thu, 17 Mar 2022 23:30:11 +0000 Subject: [PATCH] fix: apps/picalc/Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331 --- apps/picalc/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/picalc/Dockerfile b/apps/picalc/Dockerfile index 446c6f5..0733ad8 100644 --- a/apps/picalc/Dockerfile +++ b/apps/picalc/Dockerfile @@ -15,7 +15,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -o picalc # Use a Docker multi-stage build to create a lean production image. # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds -FROM alpine +FROM alpine:3.15 # Copy the binary to the production image from the builder stage. COPY --from=builder /go/src/github.com/IBM/tekton-tutorial/picalc /picalc