mirror of
https://github.com/docker/docs.git
synced 2026-03-27 06:18:55 +07:00
17 lines
256 B
Bash
Executable File
17 lines
256 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -eu -o pipefail
|
|
|
|
output=$(mktemp -d -t hugo-vendor-output.XXXXXXXXXX)
|
|
|
|
function clean {
|
|
rm -rf "$output"
|
|
}
|
|
|
|
trap clean EXIT
|
|
|
|
docker buildx bake vendor \
|
|
"--set=*.output=type=local,dest=${output}"
|
|
rm -r _vendor
|
|
cp -R $output/* .
|