mirror of
https://github.com/goreleaser/goreleaser.git
synced 2024-12-29 01:44:39 +02:00
de7b01eb17
https://github.com/krallin/tini/issues/8 Signed-off-by: Artur Troian <troian.ap@gmail.com>
21 lines
364 B
Docker
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
|