Skip to content

Commit

Permalink
Update golang version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
minpeter committed Mar 22, 2024
1 parent 2b70437 commit e8ca4c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Step 1: Modules caching
FROM --platform=$BUILDPLATFORM golang:1.19.4-alpine as modules
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine as modules
COPY go.mod go.sum /modules/
WORKDIR /modules
RUN go mod download

# Step 2: Builder
FROM --platform=$BUILDPLATFORM golang:1.19.4-alpine AS builder
FROM --platform=$BUILDPLATFORM golang:1.22.1-alpine AS builder
COPY --from=modules /go/pkg /go/pkg
COPY . /app
ENV CGO_ENABLED=0
Expand Down

0 comments on commit e8ca4c0

Please sign in to comment.