2021-11-05 10:47:42 -03:00
|
|
|
FROM golang:1.17.3-alpine
|
2018-11-27 08:49:25 -06:00
|
|
|
|
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 \
|
|
|
|
mercurial \
|
|
|
|
make \
|
2021-09-21 21:17:42 -04:00
|
|
|
build-base \
|
|
|
|
tini
|
2018-11-27 08:49:25 -06:00
|
|
|
|
2021-09-21 21:17:42 -04:00
|
|
|
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
|
2018-09-04 15:19:01 +03:00
|
|
|
CMD [ "-h" ]
|
2018-11-27 08:49:25 -06:00
|
|
|
|
2018-12-16 11:11:01 -02:00
|
|
|
COPY scripts/entrypoint.sh /entrypoint.sh
|
2018-11-27 08:49:25 -06:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2018-12-16 11:11:01 -02:00
|
|
|
|
2021-01-07 16:21:12 -03:00
|
|
|
COPY goreleaser_*.apk /tmp/
|
|
|
|
RUN apk add --allow-untrusted /tmp/goreleaser_*.apk
|