mirror of
https://github.com/docker/docs.git
synced 2026-06-19 07:35:16 +00:00
c7511a228f
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
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/* .
|