Skip to content
Snippets Groups Projects
Commit 2c7da42f authored by Lennart Kramer's avatar Lennart Kramer
Browse files

use CGO_ENABLED=0 for static build

since the server executable is built outside of the docker image
parent 7e1b0e69
No related branches found
No related tags found
No related merge requests found
#!/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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment