We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51dd8dd commit 263712dCopy full SHA for 263712d
1 file changed
scripts/run_seclab_agent.sh
@@ -7,9 +7,11 @@ fi
7
8
mkdir -p logs
9
10
+# Note: this uses the trick described [here](https://unix.stackexchange.com/a/646335)
11
+# to pass extra command line arguments into `bash -c`.
12
docker run -i \
13
--mount type=bind,src="$PWD",dst=/app \
14
--mount type=bind,src="./logs",dst=/root/.local \
15
-e GH_TOKEN="$GH_TOKEN" -e AI_API_TOKEN="$AI_API_TOKEN" --entrypoint /bin/bash \
16
"ghcr.io/githubsecuritylab/seclab-taskflow-agent" \
- -c "pip install -q -e /app ; $*"
17
+ -c 'pip install -q -e /app ; exec "$@"' this-is-bash-dollar-zero "$@"
0 commit comments