Skip to content

Commit

Permalink
Revert "reduce version from alpine"
Browse files Browse the repository at this point in the history
This reverts commit 6eebb1d.
  • Loading branch information
irdgss committed Dec 12, 2023
1 parent 6eebb1d commit eea8c94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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 \
Expand Down

0 comments on commit eea8c94

Please sign in to comment.