mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-25 21:50:21 +00:00
require builx for for docker builds
This commit is contained in:
parent
f0033f75d0
commit
2b421c56bb
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ function create_builder() {
|
||||||
docker buildx use xbuilder && return 0
|
docker buildx use xbuilder && return 0
|
||||||
echo "[+] Creating new xbuilder for: $SELECTED_PLATFORMS"
|
echo "[+] Creating new xbuilder for: $SELECTED_PLATFORMS"
|
||||||
echo
|
echo
|
||||||
|
docker pull 'moby/buildkit:buildx-stable-1'
|
||||||
|
|
||||||
# Switch to buildx builder if already present / previously created
|
# Switch to buildx builder if already present / previously created
|
||||||
docker buildx create --name xbuilder --driver docker-container --bootstrap --use --platform "$SELECTED_PLATFORMS" || true
|
docker buildx create --name xbuilder --driver docker-container --bootstrap --use --platform "$SELECTED_PLATFORMS" || true
|
||||||
|
|
Loading…
Reference in a new issue