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

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>
This commit is contained in:
Artur Troian 2021-09-21 21:17:42 -04:00 committed by GitHub
parent c6bdda2774
commit de7b01eb17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,9 +7,10 @@ RUN apk add --no-cache bash \
git \
mercurial \
make \
build-base
build-base \
tini
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
CMD [ "-h" ]
COPY scripts/entrypoint.sh /entrypoint.sh