From 30b2117be8ffa7da345624ef79c9466cf8fe8bd4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Mon, 17 Jul 2023 23:30:27 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bbdc895..b9ac955 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /app RUN go get -d -v RUN go build -v -o main . -FROM alpine:3.17 +FROM alpine:3 RUN apk --no-cache add ca-certificates WORKDIR /root/ COPY --from=builder /app/main .