2022-07-26 14:32:29 +02:00
|
|
|
FROM golang:1.18.4-alpine@sha256:d84b1ff3eeb9404e0a7dda7fdc6914cbe657102420529beec62ccb3ef3d143eb
|
2018-11-27 16:49:25 +02:00
|
|
|
|
2018-11-29 20:40:04 +02:00
|
|
|
RUN apk add --no-cache bash \
|
2021-08-25 01:49:11 +02:00
|
|
|
curl \
|
|
|
|
docker-cli \
|
|
|
|
docker-cli-buildx \
|
|
|
|
git \
|
2022-02-13 18:37:38 +02:00
|
|
|
gpg \
|
2021-08-25 01:49:11 +02:00
|
|
|
mercurial \
|
|
|
|
make \
|
2022-04-29 14:32:24 +02:00
|
|
|
openssh-client \
|
2021-09-22 03:17:42 +02:00
|
|
|
build-base \
|
|
|
|
tini
|
2018-11-27 16:49:25 +02:00
|
|
|
|
2021-11-18 14:54:54 +02:00
|
|
|
# install cosign
|
2022-07-22 16:34:56 +02:00
|
|
|
COPY --from=gcr.io/projectsigstore/cosign:v1.10.0@sha256:a719237925984033fb72685c1998d922c903bbe62464f6d401b5108d3195bb94 /ko-app/cosign /usr/local/bin/cosign
|
2021-11-18 14:54:54 +02:00
|
|
|
|
2021-09-22 03:17:42 +02:00
|
|
|
ENTRYPOINT ["/sbin/tini", "--", "/entrypoint.sh"]
|
2018-09-04 14:19:01 +02:00
|
|
|
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
|
|
|
|
2021-01-07 21:21:12 +02:00
|
|
|
COPY goreleaser_*.apk /tmp/
|
2021-11-17 20:00:10 +02:00
|
|
|
RUN apk add --no-cache --allow-untrusted /tmp/goreleaser_*.apk
|