4
0
raspi-alpine-builder/example/build_image.sh

5 lines
216 B
Bash
Raw Normal View History

2019-11-12 21:02:43 +01:00
#!/bin/sh
docker run --rm -v "$PWD":/work -w /work -e GOOS=linux -e GOARCH=arm -e GOARM=5 golang:1.13-alpine go build -v -o ./app .
docker run --rm -it -v "$PWD":/input -v $PWD:/output bboehmke/raspi-alpine-builder