From 4d0f7fdf7984cfdf798399bce130ae04da755c58 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 8 Aug 2023 15:45:17 +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 6f38ee4..ed03c63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN set -ex; \ if grep -q '^package main *' *.go; then go install .; fi; \ if [ -d cmd ]; then go install ./cmd/...; fi -FROM alpine +FROM alpine:3.18.3 RUN apk add --no-cache curl tzdata ENTRYPOINT ["/bin/autentigo"] COPY --from=build-env /go/bin/ /bin/ \ No newline at end of file