Skip to content

Commit

Permalink
upudate docker version of go
Browse files Browse the repository at this point in the history
  • Loading branch information
geovex committed Jan 6, 2024
1 parent 0ca7cfb commit 2c9dcb7
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,9 +1,9 @@
FROM docker.io/golang:1.20-alpine AS build
FROM docker.io/golang:1.21-alpine AS build
WORKDIR /app
ADD . ./
RUN go mod download && go build ./cmd/tgp

FROM docker.io/golang:1.20-alpine AS deploy
FROM docker.io/golang:1.21-alpine AS deploy
RUN apk add --no-cache gcompat
WORKDIR /app
COPY --from=build /app/tgp ./
Expand Down

0 comments on commit 2c9dcb7

Please sign in to comment.