4
0
raspi-alpine-builder/example/build_image.sh
Benjamin Böhmke 6893cd3495 added example
2019-11-12 21:02:43 +01:00

5 lines
216 B
Bash
Executable File

#!/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