From 2c7da42f6404913cbcd59d57eaa3074638f711d5 Mon Sep 17 00:00:00 2001 From: Lennart Kramer <lennart.kramer@stud.uni-goettingen.de> Date: Fri, 2 Dec 2022 15:03:18 +0100 Subject: [PATCH] use CGO_ENABLED=0 for static build since the server executable is built outside of the docker image --- buildweb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildweb.sh b/buildweb.sh index bf13bd7..78896f7 100755 --- a/buildweb.sh +++ b/buildweb.sh @@ -1,7 +1,7 @@ #!/bin/sh # This script compiles the web server application. set -e -export GOBIN="$(realpath bin)" +export GOBIN="$(realpath bin)" CGO_ENABLED=0 cd ./src/web go mod download all go install web -- GitLab