1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-27 01:33:39 +02:00
goreleaser/Dockerfile
Carlos Alexandro Becker c67b8d0ba7
fix(docker): install cosign and syft with apk (#5275)
this should simplify things a little bit

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2024-11-23 16:23:15 -03:00

26 lines
497 B
Docker

FROM golang:1.23.3-alpine@sha256:c694a4d291a13a9f9d94933395673494fc2cc9d4777b85df3a7e70b3492d3574
RUN apk add --no-cache bash \
build-base \
curl \
cosign \
docker-cli \
docker-cli-buildx \
git \
gpg \
mercurial \
make \
openssh-client \
syft \
tini \
upx
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
CMD [ "-h" ]
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY goreleaser_*.apk /tmp/
RUN apk add --no-cache --allow-untrusted /tmp/goreleaser_*.apk