1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

feat: add upx to our docker images (#5131)

I like to use the goreleaser for my private project and would like to
have the binary scaled down with the UPX in the GitLab build pipeline.
Therefore, it would be nice if the UPX tool is pre-installed in the
Docker container.

Signed-off-by: Andrej Giesbrecht <giesan@gmx.net>
This commit is contained in:
Andrej Giesbrecht 2024-09-12 16:24:54 +02:00 committed by GitHub
parent 0c5e4fd336
commit 377ced6577
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,7 +10,8 @@ RUN apk add --no-cache bash \
make \
openssh-client \
build-base \
tini
tini \
upx
# install cosign
COPY --from=gcr.io/projectsigstore/cosign:v2.4.0@sha256:9d50ceb15f023eda8f58032849eedc0216236d2e2f4cfe1cdf97c00ae7798cfe /ko-app/cosign /usr/bin/cosign