From 17379b9a8f1413e01c4bcd179c0cbf3c225156df Mon Sep 17 00:00:00 2001 From: LeonardoLordelloFontes Date: Wed, 30 Oct 2024 11:37:41 +0000 Subject: [PATCH] Remove unnecessary from go build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 015a915..cb3d269 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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