2020-06-19 13:19:32 +02:00
|
|
|
FROM alpine as certs
|
|
|
|
|
|
|
|
RUN apk --update add ca-certificates
|
|
|
|
|
2020-02-15 18:55:26 +01:00
|
|
|
FROM gcr.io/kaniko-project/executor:debug
|
|
|
|
|
2020-06-19 13:19:32 +02:00
|
|
|
SHELL ["/busybox/sh", "-c"]
|
|
|
|
|
|
|
|
RUN mkdir -p /usr/local/bin && \
|
|
|
|
wget -O /usr/local/bin/jq \
|
|
|
|
https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 && \
|
|
|
|
chmod +x /usr/local/bin/jq && \
|
|
|
|
wget -O /usr/local/bin/reg \
|
|
|
|
https://github.com/genuinetools/reg/releases/download/v0.16.1/reg-linux-386 && \
|
|
|
|
chmod +x /usr/local/bin/reg
|
|
|
|
|
2020-02-15 18:55:26 +01:00
|
|
|
COPY entrypoint.sh /
|
2020-06-19 13:19:32 +02:00
|
|
|
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>"
|