mirror of
https://github.com/jcwimer/railsVagrant
synced 2026-03-24 18:44:42 +00:00
Added docker repo
This commit is contained in:
@@ -5,6 +5,12 @@ COMPOSE_VERSION='1.15.0'
|
||||
DOCKER_VERSION='17.06.2'
|
||||
|
||||
add-apt-repository ppa:ondrej/php -y
|
||||
# Install docker key and repo
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
|
||||
add-apt-repository -y \
|
||||
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
|
||||
$(lsb_release -cs) \
|
||||
stable"
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq \
|
||||
software-properties-common \
|
||||
@@ -23,7 +29,6 @@ apt-get install -y -qq \
|
||||
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
|
||||
|
||||
# Install docker and compose
|
||||
apt-get update
|
||||
apt-get install -y -qq docker-ce=${DOCKER_VERSION}~ce-0~ubuntu
|
||||
curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-$(uname -s)-$(uname -m) > /usr/local/bin/docker-compose
|
||||
chmod +x /usr/local/bin/docker-compose
|
||||
|
||||
Reference in New Issue
Block a user