1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00
goreleaser/Dockerfile
Artur Troian de7b01eb17
feat(docker): install tini to handle Ctrl+C (#2501)
https://github.com/krallin/tini/issues/8

Signed-off-by: Artur Troian <troian.ap@gmail.com>
2021-09-21 22:17:42 -03:00

21 lines
364 B
Docker

FROM golang:1.17.1-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 --allow-untrusted /tmp/goreleaser_*.apk