1
0
Fork 0
mirror of https://github.com/aevea/action-kaniko.git synced 2025-01-30 22:09:37 +01:00
action-kaniko/Dockerfile

27 lines
893 B
Text
Raw Normal View History

FROM alpine as certs
RUN apk --update add ca-certificates
FROM gcr.io/kaniko-project/executor:v1.23.2-debug
2020-02-15 18:55:26 +01:00
SHELL ["/busybox/sh", "-c"]
RUN wget -O /kaniko/jq \
https://github.com/jqlang/jq/releases/download/jq-1.7.1/jq-linux64 && \
chmod +x /kaniko/jq && \
wget -O /kaniko/reg \
https://github.com/genuinetools/reg/releases/download/v0.16.1/reg-linux-386 && \
chmod +x /kaniko/reg && \
wget -O /crane.tar.gz \
https://github.com/google/go-containerregistry/releases/download/v0.17.0/go-containerregistry_Linux_x86_64.tar.gz && \
tar -xvzf /crane.tar.gz crane -C /kaniko && \
rm /crane.tar.gz
2020-02-15 18:55:26 +01:00
COPY entrypoint.sh /
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
2020-02-15 18:55:26 +01:00
ENTRYPOINT ["/entrypoint.sh"]
2020-04-25 23:23:21 +02:00
LABEL repository="https://github.com/aevea/action-kaniko" \
2020-02-15 18:55:26 +01:00
maintainer="Alex Viscreanu <alexviscreanu@gmail.com>"