Archive of an old project to create tools for 8-bit development. This has been superseded
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
260 B

#!/bin/bash
TARGET="$1"
ARCH="$2"
GOARCH="$3"
GOARM="$4"
TAG="$5"
exec docker build \
--pull \
-t ${TAG} \
--target ${TARGET} \
--build-arg arch=${ARCH} \
--build-arg goos=linux \
--build-arg goarch=${GOARCH} \
--build-arg goarm=${GOARM} \
.