diff --git a/_deprecated/bin/setup_builder.sh b/tools/setup_builder.sh similarity index 78% rename from _deprecated/bin/setup_builder.sh rename to tools/setup_builder.sh index 93aac477..c2a60b17 100755 --- a/_deprecated/bin/setup_builder.sh +++ b/tools/setup_builder.sh @@ -11,20 +11,13 @@ fi # Only run with command switch if [ "$1" != "-y" ]; then echo "### Setting up docker for Multi Arch Builds." + echo "### Requires Docker packages from https://get.docker.com/" echo "### Use on x64 only!" - echo "### Run with -y to install!" + echo "### Run with -y if you fit the requirements!" echo exit fi -# Main -mkdir -p /root/.docker/cli-plugins/ -cd /root/.docker/cli-plugins/ -wget https://github.com/docker/buildx/releases/download/v0.10.0/buildx-v0.10.0.linux-amd64 -O docker-buildx -chmod +x docker-buildx - -docker buildx ls - # We need to create a new builder as the default one cannot handle multi-arch builds # https://docs.docker.com/desktop/multi-arch/ docker buildx create --name mybuilder