From c50d9eabfb02ead05c13b17cc4d5b005a6b2bc6c Mon Sep 17 00:00:00 2001 From: Matheus Moraes Date: Fri, 25 Oct 2024 10:58:49 -0300 Subject: [PATCH] bump alpine base image version from 3.19.1 to 3.20.3 (#66) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fbb2220..22a16a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -FROM golang:1.22 as builder +FROM golang:1.22 AS builder ARG TARGETOS ARG TARGETARCH ARG VERSION @@ -34,7 +34,7 @@ RUN CGO_ENABLED=0 GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH} go build \ -X github.com/undistro/marvin/pkg/version.commit=${COMMIT} \ -X github.com/undistro/marvin/pkg/version.date=${DATE}" -a -o marvin main.go -FROM alpine:3.19.1 +FROM alpine:3.20.3 RUN apk upgrade && rm /var/cache/apk/* RUN addgroup -g 8494 -S nonroot && adduser -u 8494 -D -S nonroot -G nonroot USER 8494:8494