We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97e266c commit 5c12927Copy full SHA for 5c12927
1 file changed
containers/agent/entrypoint.sh
@@ -140,5 +140,6 @@ echo ""
140
# The order of operations:
141
# 1. capsh drops CAP_NET_ADMIN from the bounding set (cannot be regained)
142
# 2. gosu switches to awfuser (drops root privileges)
143
-# 3. exec replaces the current process with the user command
144
-exec capsh --drop=cap_net_admin -- -c "exec gosu awfuser $(printf '%q ' "$@")"
+# 3. isolate.sh wraps the command, falling back to host chroot if binary not in container PATH
+# 4. exec replaces the current process with the user command
145
+exec capsh --drop=cap_net_admin -- -c "exec gosu awfuser /usr/local/bin/isolate.sh $(printf '%q ' "$@")"
0 commit comments