From a362acb634273562214aca056abc42043517cc15 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 18 Mar 2022 01:38:04 +0000 Subject: [PATCH] fix: hello-app/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 --- hello-app/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hello-app/Dockerfile b/hello-app/Dockerfile index f6666e3..8bb600a 100644 --- a/hello-app/Dockerfile +++ b/hello-app/Dockerfile @@ -2,7 +2,7 @@ FROM golang:1.8-alpine ADD . /go/src/hello-app RUN go install hello-app -FROM alpine:latest +FROM alpine:3.15 COPY --from=0 /go/bin/hello-app . ENV PORT 8080 CMD ["./hello-app"]