gopenfusion/build.sh
CPunch 983588b6c9 dockerfile: switch to scratch
- build.sh: disables CGO and specifies linux
- we really don't need the cstdlib now, and we don't need a busybox shell
2023-06-20 18:33:29 -05:00

5 lines
85 B
Bash
Executable File

#!/bin/sh
mkdir -p bin
CGO_ENABLED=0 GOOS=linux go build -o ./bin/server
echo 'Done'