2020-11-28 21:26:37 +02:00
|
|
|
ARG ARCH
|
|
|
|
FROM ${ARCH}/golang:1.15-alpine
|
2018-11-27 16:49:25 +02:00
|
|
|
|
2018-11-29 20:40:04 +02:00
|
|
|
RUN apk add --no-cache bash \
|
|
|
|
curl \
|
2019-09-09 15:46:47 +02:00
|
|
|
docker-cli \
|
2018-11-29 20:40:04 +02:00
|
|
|
git \
|
2020-06-19 15:02:01 +02:00
|
|
|
mercurial \
|
2020-11-28 23:04:13 +02:00
|
|
|
make \
|
|
|
|
build-base
|
2018-11-27 16:49:25 +02:00
|
|
|
|
2018-09-04 14:19:01 +02:00
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
CMD [ "-h" ]
|
2018-11-27 16:49:25 +02:00
|
|
|
|
2018-12-16 15:11:01 +02:00
|
|
|
COPY scripts/entrypoint.sh /entrypoint.sh
|
2018-11-27 16:49:25 +02:00
|
|
|
RUN chmod +x /entrypoint.sh
|
2018-12-16 15:11:01 +02:00
|
|
|
|
|
|
|
COPY goreleaser /bin/goreleaser
|