From 6289da8f79882b264ebf75d4742a1fa5b427c418 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 26 Mar 2022 02:40:05 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1ebe7a87fb..ee4e444acf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,7 +37,7 @@ RUN case ${TARGETPLATFORM} in \ VERSION=${VERSION} make build && touch jwt_signing_key.pem # Copy binary to alpine -FROM alpine:3.14 +FROM alpine:latest COPY nsswitch.conf /etc/nsswitch.conf COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt COPY --from=builder /go/src/github.com/oauth2-proxy/oauth2-proxy/oauth2-proxy /bin/oauth2-proxy