Commit c56fc705 authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: Use busybox image.

parent bc1299f5
Pipeline #3332 passed with stage
in 3 minutes and 45 seconds
......@@ -18,13 +18,13 @@ FROM golang:1.10
WORKDIR /go/src/
RUN git clone && cd kaniko && make
FROM scratch
FROM busybox:1.29.3
COPY --from=0 /go/src/ /kaniko/executor
COPY --from=0 /go/src/ /kaniko/ssl/certs/
COPY --from=0 /go/src/ /kaniko/.docker/
ENV HOME /root
ENV USER /root
ENV PATH /usr/local/bin:/kaniko
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/kaniko
ENV SSL_CERT_DIR=/kaniko/ssl/certs
ENV DOCKER_CONFIG /kaniko/.docker/
ENTRYPOINT ["/kaniko/executor"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment