buildkit/hack/cross

9 lines
276 B
Bash
Executable File

#!/usr/bin/env bash
. $(dirname $0)/util
: ${PLATFORMS=linux/arm}
set -ex
buildctl build --progress=plain --frontend=dockerfile.v0 --local context=. --local dockerfile=. --frontend-opt filename=./hack/dockerfiles/test.buildkit.Dockerfile --frontend-opt platform=$PLATFORMS