Skip to content

Commit

Permalink
Merge pull request #424 from fluxcd/build-go-1.19
Browse files Browse the repository at this point in the history
Dockerfile: Build with Go 1.19
  • Loading branch information
stefanprodan authored Sep 27, 2022
2 parents 0d13e91 + 6d671f1 commit e1cc353
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 @@
ARG GO_VERSION=1.18
ARG GO_VERSION=1.19
ARG XX_VERSION=1.1.0

FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
Expand Down Expand Up @@ -29,7 +29,7 @@ COPY internal/ internal/

# build
ENV CGO_ENABLED=0
RUN xx-go build -a -o notification-controller main.go
RUN xx-go build -trimpath -a -o notification-controller main.go

FROM alpine:3.16

Expand Down

0 comments on commit e1cc353

Please sign in to comment.