mirror of
https://github.com/willnorris/imageproxy.git
synced 2026-05-06 10:32:41 +02:00
chore(docker): strip debug information to shrink image size
This commit is contained in:
parent
7f3639886b
commit
9cf076e24b
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ COPY . .
|
|||
|
||||
ARG TARGETOS
|
||||
ARG TARGETARCH
|
||||
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -v ./cmd/imageproxy
|
||||
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags='-w -s' -v ./cmd/imageproxy
|
||||
|
||||
FROM cgr.dev/chainguard/static:latest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue