From b922ab51c60a4babd744a3aa65eaba44b4e70320 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 18 Mar 2022 04:11:11 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331 - https://snyk.io/vuln/SNYK-ALPINE315-OPENSSL-2426331 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5e358387..3cf1306db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ COPY . . RUN BUILD_FLAGS="CGO_ENABLED=0 GOOS=linux" make build-powd RUN BUILD_FLAGS="CGO_ENABLED=0 GOOS=linux" make build-pow -FROM alpine +FROM alpine:3.15 COPY --from=builder /app/iplocation/maxmind/GeoLite2-City.mmdb /app/GeoLite2-City.mmdb COPY --from=builder /app/powd /app/powd COPY --from=builder /app/pow /app/pow