From a318b57408e5099c0490312f8c2f883f69321704 Mon Sep 17 00:00:00 2001 From: Jason Wilder Date: Thu, 22 Jun 2017 11:36:40 -0600 Subject: [PATCH] Update docker --- .travis.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index a453ac7..268e275 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,17 @@ dist: trusty sudo: required -services: - - docker env: - global: - - DOCKER_VERSION=1.13.1-0~ubuntu-trusty matrix: - TEST_TARGET: test-debian - TEST_TARGET: test-alpine before_install: - # list docker-engine versions - - apt-cache madison docker-engine - # upgrade docker-engine to specific version - - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --force-yes docker-engine=${DOCKER_VERSION} + - sudo apt-get remove docker docker-engine + - 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 install docker-ce - docker version - docker info # prepare docker test requirements