Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
install docker-buildx-plugin on version 20.10 as well, to allow upgra…
…ding The `docker-buildx-plugin` package can replace the version of buildx that's bundled in the `docker-ce-cli` packages. This allows for buildx to be updated to the current version, even if it was originally installed from the bundled version. Some testing shows that this works well, and that upgrading the `docker-ce-cli` package won't revert the change, and continues using the buildx version from the separate package. Here's some steps to illustrate that scenario: # remove any installed docker packages apt-get purge -y docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-scan-plugin docker-buildx-plugin docker-ce-rootless-extras # stop the docker.socket service (it blocks a clean reinstall after an uninstall) systemctl stop docker.socket # install docker 20.10.14 (from the test channel) curl -fsSL https://test.docker.com | VERSION=20.10.14 sh # verify that the installed version of buildx is the bundled (`-docker`) version: docker buildx version github.com/docker/buildx v0.8.1-docker 5fac64c2c49dae1320f2b51f1a899ca451935554 # install the separate `docker-buildx-plugin` package apt-get install -y docker-buildx-plugin # verify that it replaced the bundled version docker buildx version github.com/docker/buildx v0.8.2 # upgrade to docker 20.10.17 curl -fsSL https://test.docker.com | VERSION=20.10.17 sh # verify that updating didn't downgrade the buildx plugin, or revert it to the "included" buildx version: docker buildx version github.com/docker/buildx v0.8.2 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information