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:
- docker
addons:
apt:
packages:
- docker-ce
before_install:
- curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt-get update
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
script:
- make docker-build