1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-22 04:08:49 +02:00
goreleaser/Dockerfile

26 lines
649 B
Docker
Raw Normal View History

FROM golang:1.19.0-alpine@sha256:f8e128fa8aa891fe29e22e6401686dffef9bd4c3f5b552b09a7c29f7379979c1
RUN apk add --no-cache bash \
curl \
docker-cli \
docker-cli-buildx \
git \
gpg \
mercurial \
make \
openssh-client \
build-base \
tini
# install cosign
COPY --from=gcr.io/projectsigstore/cosign:v1.10.0@sha256:a719237925984033fb72685c1998d922c903bbe62464f6d401b5108d3195bb94 /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/
2021-11-17 15:00:10 -03:00
RUN apk add --no-cache --allow-untrusted /tmp/goreleaser_*.apk