From 3d43c4e2443456f34f561dd2bd9f24d2c0ce19d5 Mon Sep 17 00:00:00 2001 From: FlUxIuS Date: Wed, 6 Nov 2024 18:51:16 +0100 Subject: [PATCH] Fixing buildx install --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 521b615..999ccbf 100755 --- a/install.sh +++ b/install.sh @@ -91,8 +91,8 @@ install_buildx() { echo -e "${YELLOW}[+] Installing Docker Buildx${NC}" docker run --privileged --rm tonistiigi/binfmt --install all mkdir -p ~/.docker/cli-plugins/ - curl -sSL https://github.com/docker/buildx/releases/download/${version}/buildx-${version}.linux-${arch} -o ~/.docker/cli-plugins/docker-buildx - chmod +x ~/.docker/cli-plugins/docker-buildx + curl -sSL https://github.com/docker/buildx/releases/download/${version}/buildx-${version}.linux-${arch} -o "${HOME}/.docker/cli-plugins/docker-buildx" + chmod +x "${HOME}/.docker/cli-plugins/docker-buildx" echo -e "${GREEN}Docker Buildx installed successfully.${NC}" else echo -e "${GREEN}Docker Buildx is already installed. Moving on.${NC}"