Last active
June 8, 2017 17:06
-
-
Save Andorbal/a5f894418a695b8c97f996f8709bbe36 to your computer and use it in GitHub Desktop.
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
curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - | |
NODEREPO=node_8.x | |
DISTRO=`lsb_release -c -s` | |
echo "deb https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" > /etc/apt/sources.list.d/nodesource.list | |
echo "deb-src https://deb.nodesource.com/${NODEREPO} ${DISTRO} main" >> /etc/apt/sources.list.d/nodesource.list | |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
apt-get update | |
apt-cache policy docker-ce | |
apt-get install -y build-essential docker-ce nodejs nginx | |
adduser store-man | |
usermod -aG docker store-man | |
chown root:docker /etc/nginx/sites-enabled | |
mkdir -p /var/store-manager/containers | |
chown -R store-man /var/store-man |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment