Skip to content

Commit

Permalink
bump go version on dockerfile
Browse files Browse the repository at this point in the history
Signed-off-by: Jeeva Kandasamy <[email protected]>
  • Loading branch information
jkandasa committed Mar 30, 2024
1 parent 15d8427 commit b2f6a71
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 --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20-alpine3.17 AS builder
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.21-alpine3.19 AS builder
RUN mkdir /app
ADD . /app
WORKDIR /app
Expand All @@ -14,7 +14,7 @@ ARG TARGETARCH
RUN source ./scripts/version.sh && \
GOOS=${TARGETOS:-linux} GOARCH=${TARGETARCH:-amd64} go build -v -o 2mqtt -ldflags "-s -w $LD_FLAGS" cmd/main.go

FROM alpine:3.17
FROM alpine:3.19

LABEL maintainer="Jeeva Kandasamy <[email protected]>"

Expand Down

0 comments on commit b2f6a71

Please sign in to comment.