diff --git a/buildweb.sh b/buildweb.sh
index bf13bd784adff6d17d26e07ee324cd6ec007bb96..78896f75accb097ca6aaab728b774bd72ea4ba29 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