Files
dockerize/build_go_exec
2019-04-10 14:23:21 -06:00

5 lines
131 B
Bash

#! /bin/bash
o="${1:-$(mktemp /tmp/execXXX)}"
GOOS=linux GOARCH=386 CGO_ENABLED=0 go build -o "$o" -a -installsuffix cgo
echo "$o"