mirror of
https://github.com/moby/buildkit.git
synced 2026-08-12 22:16:54 +00:00
18 lines
338 B
Bash
Executable File
18 lines
338 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
. $(dirname $0)/util
|
|
set -e
|
|
|
|
: ${PLATFORMS=linux/arm}
|
|
|
|
if [ -n "$RUNC_PLATFORMS" ]; then
|
|
buildxCmd build $cacheFromFlags $cacheToFlags \
|
|
--target "binaries-linux-helper" \
|
|
--platform "$RUNC_PLATFORMS" \
|
|
$currentcontext
|
|
fi
|
|
|
|
buildxCmd build $cacheFromFlags \
|
|
--platform "$PLATFORMS" \
|
|
$currentcontext
|