1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-05-02 20:22:23 +02:00
Files
goreleaser/Dockerfile
T

29 lines
768 B
Docker
Raw Normal View History

FROM golang:1.21.1-alpine@sha256:96634e55b363cb93d39f78fb18aa64abc7f96d372c176660d7b8b6118939d97b
2018-11-29 12:40:04 -06:00
RUN apk add --no-cache bash \
2021-08-24 20:49:11 -03:00
curl \
docker-cli \
docker-cli-buildx \
git \
gpg \
2021-08-24 20:49:11 -03:00
mercurial \
make \
openssh-client \
build-base \
tini
# install cosign
2023-08-21 21:34:08 +02:00
COPY --from=gcr.io/projectsigstore/cosign:v2.1.1@sha256:411ace177097a33cb2ee74028a87ffdcb70965003cd1378c1ec7bf9f9dec9359 /ko-app/cosign /usr/bin/cosign
2023-07-12 14:47:37 +02:00
# install syft
RUN curl -sSfL https://raw.githubusercontent.com/anchore/syft/v0.84.1/install.sh | sh -s -- -b /usr/local/bin
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
2018-09-04 15:19:01 +03:00
CMD [ "-h" ]
2018-12-16 11:11:01 -02:00
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
2018-12-16 11:11:01 -02:00
COPY goreleaser_*.apk /tmp/
2021-11-17 15:00:10 -03:00
RUN apk add --no-cache --allow-untrusted /tmp/goreleaser_*.apk