mirror of
https://github.com/aevea/action-kaniko.git
synced 2025-01-30 22:09:37 +01:00
23 lines
719 B
Docker
23 lines
719 B
Docker
FROM alpine as certs
|
|
|
|
RUN apk --update add ca-certificates
|
|
|
|
FROM gcr.io/kaniko-project/executor:debug
|
|
|
|
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
|
|
|
|
COPY entrypoint.sh /
|
|
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
LABEL repository="https://github.com/aevea/action-kaniko" \
|
|
maintainer="Alex Viscreanu <alexviscreanu@gmail.com>"
|