fix(suites): disable cgo for delve during development (#2129)
#2101 introduced a minor regression when using the authelia scripts suite for developing. The following issues occurred: ``` [00] # runtime/cgo [00] cgo: exec gcc: exec: "gcc": executable file not found in $PATH ``` Adding the CGO_ENABLED=0 before the dlv build command in the run-backend-dev.sh fixed the issue.pull/2130/head
parent
851396c972
commit
7ff0a39c02
|
@ -4,6 +4,6 @@ set -e
|
||||||
|
|
||||||
while true;
|
while true;
|
||||||
do
|
do
|
||||||
dlv --listen 0.0.0.0:2345 --headless=true --output=./authelia --continue --accept-multiclient debug cmd/authelia/*.go -- --config /config/configuration.yml
|
CGO_ENABLED=0 dlv --listen 0.0.0.0:2345 --headless=true --output=./authelia --continue --accept-multiclient debug cmd/authelia/*.go -- --config /config/configuration.yml
|
||||||
sleep 10
|
sleep 10
|
||||||
done
|
done
|
Loading…
Reference in New Issue