Created
September 8, 2021 14:11
-
-
Save beshkenadze/e13d10012b5ff0f100dfacea1fc65de8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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