Commit d861fc73 authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: build fixes

parent 9a3e251c
Pipeline #3327 failed with stage
in 1 minute and 15 seconds
......@@ -18,12 +18,12 @@ FROM golang:1.10
WORKDIR /go
RUN git clone https://github.com/GoogleContainerTools/kaniko
RUN cd kaniko
RUN make
RUN make out/executor
FROM scratch
COPY --from=0 /go/kaniko/out/executor /kaniko/executor
COPY files/ca-certificates.crt /kaniko/ssl/certs/
COPY files/config.json /kaniko/.docker/
COPY --from=0 /go/kaniko/files/ca-certificates.crt /kaniko/ssl/certs/
COPY --from=0 /go/kaniko/files/config.json /kaniko/.docker/
ENV HOME /root
ENV USER /root
ENV PATH /usr/local/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