Remove debug symbols in docker image
Some checks failed
Build and push / build (push) Has been cancelled
Release / Release Go Binary (amd64, darwin) (push) Has been cancelled
Release / Release Go Binary (amd64, linux) (push) Has been cancelled
Release / Release Go Binary (amd64, windows) (push) Has been cancelled
Release / Release Go Binary (arm64, darwin) (push) Has been cancelled
Release / Release Go Binary (arm64, linux) (push) Has been cancelled

This commit is contained in:
James Carnegie
2023-02-15 13:54:36 +00:00
parent 6e69c80c9b
commit 9c982ecf3b

View File

@@ -11,7 +11,7 @@ COPY main.go ./
COPY docker/ ./docker/
COPY babashka/ ./babashka/
RUN CGO_ENABLED=0 go build -o babashka-pod-docker
RUN CGO_ENABLED=0 go build -ldflags "-s -w" -o babashka-pod-docker
FROM alpine:3.17
ARG version