containers-bsi/Dockerfile
Vincent Batts f5db5f704f
Dockerfile and export image if OUTPUT_DIR
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
2019-09-10 09:08:12 -04:00

9 lines
240 B
Docker

FROM quay.io/buildah/stable
RUN dnf install -y skopeo && \
dnf clean all && \
mkdir -p /output
COPY . /usr/local/bin/
VOLUME /var/lib/container
VOLUME /output
ENV OUTPUT_DIR=/output
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]