Skip to content

Commit

Permalink
fix: bump version in docker image (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov authored Nov 2, 2023
1 parent 2daac33 commit 3ef8ed6
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,4 +1,4 @@
FROM golang:1.17-alpine as builder
FROM golang:1.21-alpine as builder

WORKDIR /build
RUN apk add --no-cache upx
Expand All @@ -9,7 +9,7 @@ RUN go build -trimpath -o bin/ireturn ./cmd/ireturn
RUN upx --brute /build/bin/ireturn


FROM golang:1.17-alpine as base
FROM golang:1.21-alpine as base
WORKDIR /
COPY --from=builder /build/bin/ireturn ireturn
VOLUME /app
Expand Down

0 comments on commit 3ef8ed6

Please sign in to comment.