Last active
March 12, 2024 08:36
-
-
Save dylanscott/ea6cff4900c50f4e85a58c01477e9473 to your computer and use it in GitHub Desktop.
Travis Update to Docker 1.13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -euo pipefail | |
sudo sh -c 'echo "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" > /etc/apt/sources.list.d/docker.list' | |
curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 58118E89F3A912897C070ADBF76221572C52609D | |
sudo apt-get update | |
sudo apt-get -y install "docker-engine=1.13.1-0~ubuntu-$(lsb_release -cs)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note: I still had to list docker under services in
.travis.yml
, otherwise I was running into issues running the docker cli without sudo.Also note: This update takes around ~15s in my builds.