Commit 24c42272 authored by Konstantin Pavlov's avatar Konstantin Pavlov

Added videolan-kaniko image.

This one would be used instead of docker-in-docker image to be able to
securely rebuild the images.  It does not require privileged container
as dind does.
parent 228a135d
FROM golang:1.10
WORKDIR /go/src/
RUN git clone && cd kaniko && make GOARCH=amd64
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 -y --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
ENV SSL_CERT_DIR=/kaniko/ssl/certs
ENV DOCKER_CONFIG /kaniko/.docker/
ENTRYPOINT ["/kaniko/executor"]
include ../common.mak
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