From e35571adab312cf7c5bc5afe6718733ed0478104 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 8 Aug 2023 14:26:44 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5776808 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5788370 - https://snyk.io/vuln/SNYK-ALPINE318-OPENSSL-5821142 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1b6d0d8..79bf5c7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ COPY . . RUN go mod download RUN go build -o dist/stockx-gif main.go -FROM alpine:latest +FROM alpine:3.18.3 RUN apk --no-cache add ca-certificates WORKDIR /go/src/github.com/fyko/stockx-gif-next/app COPY --from=build /go/src/github.com/fyko/stockx-gif/dist/stockx-gif .