1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-06 03:13:48 +02:00
goreleaser/Dockerfile
Carlos A Becker 86a6687f9c
fix: update cosign to v1.4.1
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
2021-12-12 00:06:14 -03:00

24 lines
551 B
Docker

FROM golang:1.17.5-alpine
RUN apk add --no-cache bash \
curl \
docker-cli \
docker-cli-buildx \
git \
mercurial \
make \
build-base \
tini
# install cosign
COPY --from=gcr.io/projectsigstore/cosign:v1.4.1@sha256:502d5130431e45f28c51d2c24a05ef5ccd3fd916bcc91db0c8bee3a81e09a0bb /ko-app/cosign /usr/local/bin/cosign
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