Skip to content

Commit

Permalink
fix-make-ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
tamakiii committed Nov 22, 2018
1 parent b26615a commit 03e8c7e
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions make/ubuntu/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@

install:
install: standard docker

standard:
sudo apt install -y \
openssh-server \
nfs-common \
Expand All @@ -11,12 +13,20 @@ install:
apt-transport-https \
ca-certificates \
curl \
npm \
software-properties-common \
openjdk-8-jre
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-xenial main"
sudo apt update
sudo apt-get install docker-engine docker docker-compose

before:
@echo "execute: sudo apt install make"
docker:
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo apt-key fingerprint 0EBFCD88
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(shell lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce

0 comments on commit 03e8c7e

Please sign in to comment.