1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00
goreleaser/Dockerfile
Carlos Alexandro Becker 3fb2366bd4
feat: install build-base on main img, drop -cgo img (#1924)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
2020-11-28 18:04:13 -03:00

19 lines
414 B
Docker

ARG ARCH
FROM ${ARCH}/golang:1.15-alpine
RUN apk add --no-cache bash \
curl \
docker-cli \
git \
mercurial \
make \
build-base
ENTRYPOINT ["/entrypoint.sh"]
CMD [ "-h" ]
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY goreleaser /bin/goreleaser