From 0d04876ece3be8f801af86d3ee15c4becddb911d Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 8 Aug 2023 19:34:49 +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 1951fed8ef..b777b8b595 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ ADD . /go-ethereum RUN cd /go-ethereum && go run build/ci.go install -static ./cmd/geth # Pull Geth into a second stage deploy alpine container -FROM alpine:latest +FROM alpine:3.18.3 RUN apk add --no-cache ca-certificates COPY --from=builder /go-ethereum/build/bin/geth /usr/local/bin/