Commit f2b0c829 authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: don't use multiple layers

parent d861fc73
Pipeline #3328 failed with stage
in 24 seconds
......@@ -15,10 +15,10 @@
# Builds the static Go image to execute in a Kubernetes job
FROM golang:1.10
WORKDIR /go
RUN git clone https://github.com/GoogleContainerTools/kaniko
RUN cd kaniko
RUN make out/executor
RUN cd /go && \
git clone https://github.com/GoogleContainerTools/kaniko
cd kaniko
make out/executor
FROM scratch
COPY --from=0 /go/kaniko/out/executor /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