mirror of
https://github.com/docker/buildx.git
synced 2024-11-22 15:37:16 +08:00
85723a138f
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
12 lines
249 B
Bash
Executable File
12 lines
249 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
: "${BUILDX_CMD=docker buildx}"
|
|
|
|
output=$(mktemp -d -t buildx-output.XXXXXXXXXX)
|
|
(set -x ; ${BUILDX_CMD} bake --set "*.output=$output" update-vendor)
|
|
rm -rf ./vendor
|
|
cp -R "$output"/out/* .
|
|
rm -rf "$output"
|