Vincent Batts
a863652505
and adding an example to the README showing to run as non-root inside the container as well. Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
11 lines
295 B
Docker
11 lines
295 B
Docker
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
|
|
|
|
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh", "-b", "/tmp/"]
|