From f43a362f33f8a0ed172b22a99ce781dd3b008c21 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 31 Jul 2018 14:41:01 -0700 Subject: Made docker install agnostic to ubuntu version This is the first step toward gracefully upgrading all VMs to ubuntu 16.04. Change-Id: If2b7c57b43165bd99984e76eba5f29fd8bfc6df0 Issue-ID: INT-606 Signed-off-by: Gary Wu --- boot/mr_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'boot/mr_install.sh') diff --git a/boot/mr_install.sh b/boot/mr_install.sh index a6a4f4b8..d11becfb 100644 --- a/boot/mr_install.sh +++ b/boot/mr_install.sh @@ -76,7 +76,7 @@ unzip -p -j /opt/boot-$ARTIFACTS_VERSION.zip dbcl_vm_init.sh > /opt/dbcl_vm_init chmod +x /opt/dbcl_vm_init.sh # Download and install docker-engine and docker-compose -echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" | sudo tee /etc/apt/sources.list.d/docker.list +echo "deb https://apt.dockerproject.org/repo ubuntu-$(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/docker.list apt-get update apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual apt-get install -y --allow-unauthenticated docker-engine -- cgit 1.2.3-korg