Skip to content

Commit

Permalink
Fixing buildx install
Browse files Browse the repository at this point in the history
  • Loading branch information
FlUxIuS committed Nov 6, 2024
1 parent 5f26de4 commit 3d43c4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 3d43c4e

Please sign in to comment.