mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-03 18:47:03 +00:00
tests: remove docker before installing the newer version
In some distros docker is already installed and the CI fails because the newer version can't be installed because it conflicts with the old version. Remove old version before installing the newer version of docker. fixes #241 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
b4de168cf4
commit
519bbe8f66
@ -251,6 +251,7 @@ setup()
|
||||
[ ! -d "${tests_repo_dir}" ] && git clone "https://${tests_repo}" "${tests_repo_dir}"
|
||||
|
||||
if [ -z "${KATA_DEV_MODE:-}" ]; then
|
||||
chronic $mgr remove-docker
|
||||
chronic $mgr install-docker-system
|
||||
else
|
||||
info "Running with KATA_DEV_MODE set, skipping installation of docker and kata packages"
|
||||
|
Loading…
Reference in New Issue
Block a user