Skip to content

Commit

Permalink
Remove unnecessary from go build
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoLordelloFontes committed Oct 30, 2024
1 parent 044f293 commit 17379b9
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 @@ -17,7 +17,7 @@ RUN go mod download
# COPY the source code as the last step
COPY . .

RUN GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -a -installsuffix cgo -o /app/2ms .
RUN GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -a -o /app/2ms .

# Runtime image
FROM cgr.dev/chainguard/git@sha256:0663e8c8a5c6fcad6cc2c08e7668d7b46f7aee025a923cee19f69475e187752a
Expand Down

0 comments on commit 17379b9

Please sign in to comment.