mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
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.
This commit is contained in:
parent
851396c972
commit
7ff0a39c02
|
@ -4,6 +4,6 @@ set -e
|
|||
|
||||
while true;
|
||||
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
|
||||
done
|
Loading…
Reference in New Issue
Block a user