From eea8c94a82aaba4a0072145a2d29edeece5abef5 Mon Sep 17 00:00:00 2001 From: Icaro Rodrigues Date: Tue, 12 Dec 2023 16:27:27 -0300 Subject: [PATCH] Revert "reduce version from alpine" This reverts commit 6eebb1d64555f0e9ae6fd9310d8b108247db1505. --- docker/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 8f9088ce9..295d5a722 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,10 +1,10 @@ FROM golang:1.17.5-alpine3.14 AS builder WORKDIR /app - -RUN apk add --no-cache --virtual build-deps curl gcc git -COPY go.mod go.sum ./ +RUN apk add --no-cache --virtual build-deps curl gcc + +COPY go.mod go.sum . RUN --mount=type=cache,target=/go/pkg/mod/ \ go mod download -x @@ -16,7 +16,7 @@ COPY . . RUN --mount=type=cache,target=/go/pkg/mod/ \ go install -v ./cmd/... -FROM alpine:3.14 +FROM alpine:3.18.4 ENV APP_USER=app \ APP_GROUP=app \