Last active
July 19, 2017 11:21
-
-
Save mindvox/2a74dbdfd802ca510ee67f390cef3be6 to your computer and use it in GitHub Desktop.
🎁 Docker and Compose installation script for Debian 9 (stretch) amd64.
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
#!/bin/sh | |
## | |
# Test script for PIPSI installations on | |
# debian 8 (jessie) amd64 hosts. | |
# | |
# configure environment | |
export PATH=$(whoami)/.local/bin:$PATH | |
# install dependencies | |
apt-get update | |
apt-get install --yes sudo curl python python-pip | |
# docker | |
curl -sSL 'https://get.docker.com' | sh | |
sudo usermod -aG docker $(whoami) | |
# install virtualenv | |
pip install virtualenv | |
# install pipsi | |
curl https://raw.githubusercontent.com/mitsuhiko/pipsi/master/get-pipsi.py | python | |
echo "export PATH=~/.local/bin:$PATH" | tee ~/.bashrc >/dev/null | |
# install something with pipsi to ensure its been installed | |
pipsi install docker-compose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment