mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
Avoid installing missing packages for version 23
On ubuntu bionic and focal (and debian buster too), the docker-model-plugin package is missing. The suggestion was to just install the package named docker-buildx-plugin in the version 23 check, while moving the missing package docker-model-plugin to a new version 28.2 check. The number was chosen because that package becomes available starting with version 28.2 on ubuntu jammy (while not available in version 28.1 on ubuntu focal). See: https://github.com/docker/docker-install/issues/509 Signed-off-by: Rejean Groleau <rejeangroleau@gmail.com>
This commit is contained in:
1 parent
7040dd2bf1
commit
4ff191b115
1 file changed
+4
-1
+4
-1
@@ -554,7 +554,10 @@ do_install() {
|
||||
pkgs="$pkgs docker-compose-plugin docker-ce-rootless-extras$pkg_version"
|
||||
fi
|
||||
if version_gte "23.0"; then
|
||||
pkgs="$pkgs docker-buildx-plugin docker-model-plugin"
|
||||
pkgs="$pkgs docker-buildx-plugin"
|
||||
fi
|
||||
if version_gte "28.2"; then
|
||||
pkgs="$pkgs docker-model-plugin"
|
||||
fi
|
||||
if ! is_dry_run; then
|
||||
set -x
|
||||
|
||||
Reference in new issue
Block a user