Skip to content

Commit

Permalink
perf: strip debugging and symbol table from compiled binary
Browse files Browse the repository at this point in the history
  • Loading branch information
lpmi-13 authored and mrsimonemms committed Feb 24, 2023
1 parent 88e11fb commit 855f7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -9,7 +9,7 @@ ENV GOOS=linux
ENV PROJECT_NAME="${PROJECT_NAME}"
RUN go build \
-ldflags \
"-X $GIT_REPO/cmd.Version=$VERSION -X $GIT_REPO/cmd.GitCommit=$GIT_COMMIT" \
"-w -s -X $GIT_REPO/cmd.Version=$VERSION -X $GIT_REPO/cmd.GitCommit=$GIT_COMMIT" \
-o /app/app
ENTRYPOINT /app/app

Expand Down

0 comments on commit 855f7d7

Please sign in to comment.