From dcfd58f85f157085956c3233a8685d5f5354b3b5 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Apr 2022 09:22:03 +0000 Subject: [PATCH] fix: Dockerfile.btcd 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.btcd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.btcd b/Dockerfile.btcd index 8750cc5..f9884eb 100644 --- a/Dockerfile.btcd +++ b/Dockerfile.btcd @@ -4,7 +4,7 @@ RUN apk add --no-cache git gcc musl-dev WORKDIR $GOPATH/src/github.com/btcsuite/btcd RUN git clone https://github.com/btcsuite/btcd.git . && GO111MODULE=on go install -v . ./cmd/... -FROM alpine as final +FROM alpine:3.15.4 as final EXPOSE 8333 8334 EXPOSE 18333 18334