Skip to content

Instantly share code, notes, and snippets.

@beshkenadze
Created September 8, 2021 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save beshkenadze/d17910d853f0efdba793eeb2ca2be0e7 to your computer and use it in GitHub Desktop.
Save beshkenadze/d17910d853f0efdba793eeb2ca2be0e7 to your computer and use it in GitHub Desktop.
#!/bin/sh
LATEST=$(wget -qO- "https://api.github.com/repos/docker/buildx/releases/latest" | jq -r .name)
wget https://github.com/docker/buildx/releases/download/$LATEST/buildx-$LATEST.linux-amd64
chmod a+x buildx-$LATEST.linux-amd64
mkdir -p ~/.docker/cli-plugins
mv buildx-$LATEST.linux-amd64 ~/.docker/cli-plugins/docker-buildx
echo "Done!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment