We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3198e68 commit 9387702Copy full SHA for 9387702
1 file changed
src/sdk_container
@@ -32,8 +32,10 @@ function run_in_sniper() {
32
33
if [ -z ${GITHUB_ACTIONS} ]; then
34
USERNS="--userns=keep-id"
35
+ INTERACTIVE_FLAGS="-it"
36
else
37
USERNS=""
38
+ INTERACTIVE_FLAGS=""
39
fi
40
41
image="registry.gitlab.steamos.cloud/steamrt/sniper/sdk:latest"
@@ -44,7 +46,7 @@ function run_in_sniper() {
44
46
--env "CCACHE_DIR=${my_ccache_dir}" \
45
47
--env "GITHUB_ACTIONS=${GITHUB_ACTIONS}" \
48
$USERNS \
- --rm -it \
49
+ --rm $INTERACTIVE_FLAGS \
50
--mount type=bind,\"source="${my_ccache_dir}"\",\"target="${my_ccache_dir}"\" \
51
--mount type=bind,\"source="${mod_base_dir}"\",\"target="/tc2/"\" \
52
"$image" \
0 commit comments