1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-05 13:15:26 +02:00
goreleaser/Dockerfile
2021-11-17 15:00:10 -03:00

21 lines
375 B
Docker

FROM golang:1.17.3-alpine
RUN apk add --no-cache bash \
curl \
docker-cli \
docker-cli-buildx \
git \
mercurial \
make \
build-base \
tini
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