1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2024-11-22 11:56:31 +00:00

Upgrade docker-engine and allow downgrades

This commit is contained in:
Steve Kamerman 2016-12-05 09:21:39 -05:00
parent e60fefad27
commit dc910107cf

View File

@ -4,13 +4,13 @@ services:
env: env:
global: global:
- DOCKER_VERSION=1.12.1-0~trusty - DOCKER_VERSION=1.12.3-0~trusty
before_install: before_install:
# list docker-engine versions # list docker-engine versions
- apt-cache madison docker-engine - apt-cache madison docker-engine
# upgrade docker-engine to specific version # upgrade docker-engine to specific version
- sudo apt-get -o Dpkg::Options::="--force-confnew" install -y docker-engine=${DOCKER_VERSION} - sudo apt-get -o Dpkg::Options::="--force-confnew" install -y --allow-downgrades docker-engine=${DOCKER_VERSION}
- docker version - docker version
- docker info - docker info
- sudo add-apt-repository ppa:duggan/bats --yes - sudo add-apt-repository ppa:duggan/bats --yes