Skip to content

Instantly share code, notes, and snippets.

@beshkenadze
Created September 8, 2021 14:11
Show Gist options
  • Select an option

  • Save beshkenadze/e13d10012b5ff0f100dfacea1fc65de8 to your computer and use it in GitHub Desktop.

Select an option

Save beshkenadze/e13d10012b5ff0f100dfacea1fc65de8 to your computer and use it in GitHub Desktop.

Revisions

  1. beshkenadze created this gist Sep 8, 2021.
    7 changes: 7 additions & 0 deletions buildx-install.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    #!/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!"