Default TMPDIR to /tmp/ for sandbox (#133)
This commit is contained in:
parent
f90dcf663e
commit
acc655d35f
|
@ -33,7 +33,7 @@ run_args=(-it --rm)
|
||||||
run_args+=(-v "$PWD:$WORKDIR")
|
run_args+=(-v "$PWD:$WORKDIR")
|
||||||
|
|
||||||
# mount $TMPDIR as /tmp inside container
|
# mount $TMPDIR as /tmp inside container
|
||||||
run_args+=(-v "$TMPDIR:/tmp")
|
run_args+=(-v "${TMPDIR:-/tmp/}:/tmp")
|
||||||
|
|
||||||
# name container after image, plus numeric suffix to avoid conflicts
|
# name container after image, plus numeric suffix to avoid conflicts
|
||||||
INDEX=0
|
INDEX=0
|
||||||
|
|
Loading…
Reference in New Issue