Skip to content

Commit

Permalink
Set $TARGETPLATFORM explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
ngehrsitz authored and tnaroska committed Feb 27, 2024
1 parent 54e2cb4 commit 0bdf7cc
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 @@ -26,7 +26,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -v -a -installsuffix cgo -o swag cmd/swag/


######## Start a new stage from scratch #######
FROM scratch
FROM --platform=$TARGETPLATFORM scratch

WORKDIR /code/

Expand Down

0 comments on commit 0bdf7cc

Please sign in to comment.