Commit ccdf5832 authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: use stretch and install git.

parent c56fc705
Pipeline #3335 failed with stage
in 3 minutes and 48 seconds
......@@ -18,10 +18,11 @@ FROM golang:1.10
WORKDIR /go/src/
RUN git clone && cd kaniko && make
FROM busybox:1.29.3
FROM debian:stretch-20181112-slim
COPY --from=0 /go/src/ /kaniko/executor
COPY --from=0 /go/src/ /kaniko/ssl/certs/
COPY --from=0 /go/src/ /kaniko/.docker/
RUN apt-get update && apt-get install --no-install-suggests --no-install-recommends git && apt-get clean -y && rm -rf /var/lib/apt/lists/*
ENV HOME /root
ENV USER /root
ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/kaniko
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