Added Delve debugger to the development container (including instructions in the contribution guide).

Signed-off-by: Konrad Ponichtera <konpon96@gmail.com>
This commit is contained in:
Konrad Ponichtera
2022-02-20 19:21:10 +01:00
parent dc8fb8f03b
commit 7d328ea1d6
10 changed files with 120 additions and 6 deletions

View File

@@ -77,6 +77,8 @@ if [ -z "$mtu" ]; then
mtu=1500
fi
dockerd="${DOCKERD:-dockerd}"
if [ -z "$_DOCKERD_ROOTLESS_CHILD" ]; then
_DOCKERD_ROOTLESS_CHILD=1
export _DOCKERD_ROOTLESS_CHILD
@@ -128,5 +130,7 @@ else
mount --rbind ${realpath_etc_ssl} /etc/ssl
fi
exec dockerd $@
# shellcheck disable=SC2068
# shellcheck disable=SC2086
exec $dockerd $@
fi