Skip to content

Commit

Permalink
revert upx compression for container builds
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-korneck committed Jul 17, 2021
1 parent b70a2f0 commit 8d78491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ COPY . .
RUN apk add --no-cache ca-certificates && update-ca-certificates
ENV CGO_ENABLED 0
RUN go build -v -a -tags netgo -ldflags='-s -w -extldflags "-static"' .
RUN apk add --no-cache upx && upx ./docker-pushrm
#RUN apk add --no-cache upx && upx ./docker-pushrm

FROM docker.io/library/busybox
COPY --from=builder /go/src/github.com/christian-korneck/docker-pushrm/docker-pushrm /
Expand Down

0 comments on commit 8d78491

Please sign in to comment.