Skip to content

Commit

Permalink
Sudden breaking changes on the CI. Makes sense.
Browse files Browse the repository at this point in the history
  • Loading branch information
envygeeks committed Jun 29, 2017
1 parent 21f2d17 commit 0156185
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions script/install
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ upgrade-docker() {
sudo apt-get install --assume-yes --only-upgrade \
-o Dpkg::Options::="--force-confdef" \
-o Dpkg::Options::="--force-confold" \
docker docker-engine
docker docker-ce
}

if [ "$CI" = "true" ]; then
sudo mkdir -p /etc/docker
update-docker && upgrade-docker
printf "{\n \"experimental\": true\n}\n" | sudo tee /etc/docker/daemon.json
json="{\n \"experimental\": true\n}\n"
printf "$json" | sudo tee /etc/docker/daemon.json
sudo service docker restart
fi

0 comments on commit 0156185

Please sign in to comment.