*: default the container to /tmp basedir for non-root

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>
This commit is contained in:
Vincent Batts 2019-09-19 05:23:40 -04:00
parent a8df221421
commit a863652505
Signed by: vbatts
GPG key ID: 10937E57733F1362
2 changed files with 6 additions and 4 deletions

View file

@ -8,4 +8,4 @@ RUN mkdir -p /output
ENV OUTPUT_DIR=/output
VOLUME /output
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh"]
ENTRYPOINT ["/usr/local/bin/BuildSourceImage.sh", "-b", "/tmp/"]