containers-bsi/Dockerfile

15 lines
310 B
Text
Raw Normal View History

FROM docker.io/library/fedora:latest
RUN dnf install -y jq skopeo findutils file 'dnf-command(download)'
COPY ./BuildSourceImage.sh /usr/local/bin/BuildSourceImage.sh
RUN mkdir -p /output
ENV OUTPUT_DIR=/output
VOLUME /output
ENV SRC_DIR=/src
VOLUME /src
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]