From e0d23e586b51836ad52327ae952b19f71436514f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 6 Apr 2022 05:45:57 +0000 Subject: [PATCH] fix: Dockerfile 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d5e358387..5cdbe3ca9 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.4 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