Skip to content

Commit 96f6826

Browse files
committed
pass through --contain
1 parent ff6c525 commit 96f6826

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bot/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,10 @@ fi
189189
# - /dev is needed to access /dev/fuse
190190
COMMON_ARGS+=("--extra-bind-paths" "${software_layer_dir},/dev")
191191

192+
# pass through '--contain' to avoid leaking in scripts into the container session
193+
# note, --pass-through can be used multiple times if needed
194+
COMMON_ARGS+=("--pass-through" "--contain")
195+
192196
# make sure to use the same parent dir for storing tarballs of tmp
193197
PREVIOUS_TMP_DIR=${PWD}/previous_tmp
194198

0 commit comments

Comments
 (0)