Dockerfile and export image if OUTPUT_DIR
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
22a20a5e28
commit
f5db5f704f
2 changed files with 18 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
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"]
|
Loading…
Add table
Add a link
Reference in a new issue