From ec37bdbd705ef1e2bf2866928fe3bfa941806bf4 Mon Sep 17 00:00:00 2001 From: Uladzislau Muraveika Date: Wed, 26 Jun 2024 12:10:22 +0300 Subject: [PATCH] Fix: travis CI changed the way how we install docker - travis updated their basic image and add Docker via docker.list, so I've checked how addon instruction is working under the hood - this is just a tee to sources.list, so I've changed docker.list to have the latest stable Docker --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 27e9a96cac..7d28d68d61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,12 +14,10 @@ env: - TEST="bash ./scripts/travis_rosetta_checker.sh" # upgrade docker to latest stable version -addons: - apt: - sources: - - sourceline: deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable - packages: - - docker.io +before_install: + - echo "deb https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list >/dev/null + - sudo apt-get update + - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce install: # default working directory with source code is automatically set to