You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on the log level do a sed to (un-)set the -x flag in both rootfs.sh and debugger.sh. However, this requires rebuilding the containers for the changes to take effect. Additionally, we should implement a 'watcher' that only rebuilds the containers upon changes.
Modify the entry point of both mentioned containers above and prepend a set -x. This does not require rebuilding and should work the same. However, this only seem to work for immediate commands, not a shell script, which is executed in another subshell itself... We would need to inherit the set options like so set -eu(x); . ./entrypoint.sh (argv). Doing that as an entrypoint in a container seems to not work out of the box... We probably need something like docker run .... <container> /bin/bash -c 'set -eu(x); source <entrypoint.sh>
The text was updated successfully, but these errors were encountered:
There are two obvious ways to do so:
sed
to (un-)set the -x flag in bothrootfs.sh
anddebugger.sh
. However, this requires rebuilding the containers for the changes to take effect. Additionally, we should implement a 'watcher' that only rebuilds the containers upon changes.set -eu(x); . ./entrypoint.sh (argv)
. Doing that as an entrypoint in a container seems to not work out of the box... We probably need something likedocker run .... <container> /bin/bash -c 'set -eu(x); source <entrypoint.sh>
The text was updated successfully, but these errors were encountered: