Skip to content

Commit

Permalink
fix: fix docker builds for arch != amd64 (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek authored Nov 8, 2023
1 parent 3b884e3 commit 9744c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN go mod download
ADD . .
ARG COMMIT
ARG TAG
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o deck \
RUN CGO_ENABLED=0 GOOS=linux go build -o deck \
-ldflags "-s -w -X github.com/kong/deck/cmd.VERSION=$TAG -X github.com/kong/deck/cmd.COMMIT=$COMMIT"

FROM alpine:3.18.3
Expand Down

0 comments on commit 9744c6c

Please sign in to comment.