Commit 462b4f35 authored by Konstantin Pavlov's avatar Konstantin Pavlov

kaniko: provide /bin/bash

It's needed for gitlab-runner
parent e0391c4b
......@@ -4,13 +4,14 @@ WORKDIR /go/src/github.com/GoogleContainerTools
RUN git clone https://github.com/GoogleContainerTools/kaniko && cd kaniko && make GOARCH=amd64
FROM alpine:3.8
RUN apk add git
RUN apk add git bash
FROM scratch
COPY --from=0 /go/src/github.com/GoogleContainerTools/kaniko/out/executor /kaniko/executor
COPY --from=0 /go/src/github.com/GoogleContainerTools/kaniko/files/ca-certificates.crt /kaniko/ssl/certs/
COPY --from=0 /go/src/github.com/GoogleContainerTools/kaniko/files/config.json /kaniko/.docker/
COPY --from=1 / /alpine/
COPY --from=1 /bin/bash /bin/bash
COPY --from=1 /bin/busybox /bin/busybox
COPY --from=1 /lib/ld-musl-x86_64.so.1 /lib/ld-musl-x86_64.so.1
VOLUME /alpine
......
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