Skip to content

Commit

Permalink
chore: bump dockerfile go version
Browse files Browse the repository at this point in the history
  • Loading branch information
Vilsol authored Aug 26, 2024
1 parent dc713ec commit a2dc1f7
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.22.3-alpine AS builder
FROM golang:1.23.0-alpine AS builder

RUN apk add --no-cache git build-base libpng-dev protoc
RUN go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.28
Expand All @@ -18,7 +18,7 @@ RUN go generate -tags tools -x ./...
RUN CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -v -a -installsuffix cgo -o /go/bin/api cmd/api/serve.go


FROM golang:1.22.3-alpine
FROM golang:1.23.0-alpine
RUN apk add --no-cache libstdc++ libpng
COPY --from=builder /go/bin/api /api
WORKDIR /app
Expand Down

0 comments on commit a2dc1f7

Please sign in to comment.