Skip to content

Commit

Permalink
Dockerfile: use OS and arch from the OS of the build image (#2155)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso authored Feb 18, 2025
1 parent 199fcd7 commit 6aae01d
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 @@ -8,7 +8,7 @@ RUN apt-get update && \
# Build the full app binary
WORKDIR /app
COPY . .
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=0 make build
RUN CGO_ENABLED=0 make build

# Copy built binaries to production slim image.
FROM alpine:3.21 AS final
Expand Down

0 comments on commit 6aae01d

Please sign in to comment.