From 0a53c880d802f7fb63bf8c9ffbe33bd12a7b54f2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 9 Aug 2023 03:06:16 +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 0378b7efd..5dbb5987c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ WORKDIR /usr/local/go/src/github.com/SpectoLabs/hoverfly COPY . /usr/local/go/src/github.com/SpectoLabs/hoverfly RUN cd core/cmd/hoverfly && CGO_ENABLED=0 GOOS=linux go install -ldflags "-s -w" -FROM alpine:latest +FROM alpine:3.18.3 RUN apk --no-cache add ca-certificates COPY --from=build-env /usr/local/go/bin/hoverfly /bin/hoverfly ENTRYPOINT ["/bin/hoverfly", "-listen-on-host=0.0.0.0"]