Commit 9a3e251c authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: fetch sources

parent 12e0574f
Pipeline #3326 failed with stage
in 1 minute and 14 seconds
......@@ -15,12 +15,13 @@
# Builds the static Go image to execute in a Kubernetes job
FROM golang:1.10
WORKDIR /go/src/
COPY . .
RUN git clone
RUN cd kaniko
RUN make
FROM scratch
COPY --from=0 /go/src/ /kaniko/executor
COPY --from=0 /go/kaniko/out/executor /kaniko/executor
COPY files/ca-certificates.crt /kaniko/ssl/certs/
COPY files/config.json /kaniko/.docker/
ENV HOME /root
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