Merge "Use latest docker engine in gate"

This commit is contained in:
Jenkins 2017-07-10 13:30:48 +00:00 committed by Gerrit Code Review
commit 6f2874cc84
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ source /etc/lsb-release
echo "deb http://apt.dockerproject.org/repo ubuntu-${DISTRIB_CODENAME} main" | sudo tee /etc/apt/sources.list.d/docker.list echo "deb http://apt.dockerproject.org/repo ubuntu-${DISTRIB_CODENAME} main" | sudo tee /etc/apt/sources.list.d/docker.list
add_key add_key
sudo apt-get update sudo apt-get update
sudo apt-get -y install --no-install-recommends 'docker-engine=1.12.*' sudo apt-get -y install --no-install-recommends docker-engine
sudo service docker stop sudo service docker stop
if [[ ${DISTRIB_CODENAME} == "trusty" ]]; then if [[ ${DISTRIB_CODENAME} == "trusty" ]]; then

View File

@ -44,7 +44,7 @@ gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg gpgkey=https://yum.dockerproject.org/gpg
EOF EOF
sudo yum -y install libffi-devel openssl-devel docker-engine-1.12.6 docker-engine-selinux-1.12.6 btrfs-progs sudo yum -y install libffi-devel openssl-devel docker-engine docker-engine-selinux btrfs-progs
setup_disk setup_disk