Use another way to get latest docker on Travis

This commit is contained in:
Maxim Baz 2020-06-15 22:45:07 +02:00
parent 430d0dbf73
commit dc50a4c58f
No known key found for this signature in database
GPG Key ID: 011FDC52DA839335

View File

@ -4,10 +4,11 @@ language: minimal
services: services:
- docker - docker
addons: before_install:
apt: - curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
packages: - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- docker-ce - sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
script: script:
- make docker-build - make docker-build