First script version. Add Readme

This commit is contained in:
adphi 2018-04-23 10:46:11 +02:00
parent 5c31714473
commit 4c1263a570
4 changed files with 34 additions and 1 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

View File

@ -0,0 +1,9 @@
# Full Docker / Docker-Compose / Docker-Machine Installation Script for Ubuntu (Oh my Zsh Environement)
### Installation
```bash
wget https://git.adphi.net/Adphi/DockerInstallScript/raw/master/install.sh
sudo chmod +x install.sh
./install.sh
```

View File

@ -1 +0,0 @@

24
install.sh Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
echo "\nInstalling Docker\n"
curl -fsSL https://get.docker.com -o get-docker.sh
sudo chmod +x get-docker.sh
./get-docker.sh
sudo usermod -aG docker $USER
echo "\nInstalling Docker Compose\n"
sudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
echo "\nInstalling Docker Machine\n"
base=https://github.com/docker/machine/releases/download/v0.14.0 &&
curl -L $base/docker-machine-$(uname -s)-$(uname -m) >/tmp/docker-machine &&
sudo install /tmp/docker-machine /usr/local/bin/docker-machine
echo "\nInstalling ZSH Docker Compose auto completion\n"
echo "fpath=(~/.zsh/completion $fpath)" > ~/.zshrc
echo "autoload -Uz compinit && compinit -i" > ~/.zshrc
echo "\nRefreshing ZSH Env\n"
zshrefresh