Skip to content

Commit

Permalink
return upx
Browse files Browse the repository at this point in the history
  • Loading branch information
nedvna committed Mar 22, 2024
1 parent 551fa4f commit 961ab03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ ARG GOOS=linux
ARG GOARCH=$TARGETARCH
RUN go test -v . && \
go build -a -ldflags="-s -w" \
-o sidecar-controller .
#upx -9 sidecar-controller
-o sidecar-controller . && \
upx -9 sidecar-controller

FROM alpine:${ALPINE_VERSION}

Expand Down

0 comments on commit 961ab03

Please sign in to comment.