mirror of
https://github.com/pterodactyl/development.git
synced 2025-12-10 20:07:09 -06:00
better install scripts for daemons with go 1.11
This commit is contained in:
parent
a5b7bc3ce0
commit
209be8356e
@ -6,6 +6,7 @@ echo "Provisioning development environment for Pterodactyl Panel."
|
||||
echo "Add repositories"
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - > /dev/null
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /dev/null
|
||||
add-apt-repository -y ppa:longsleep/golang-backports > /dev/null
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash - > /dev/null
|
||||
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||
|
||||
@ -4,9 +4,12 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
chown -R vagrant:vagrant /home/vagrant
|
||||
|
||||
echo "Install docker, go and some dependencies"
|
||||
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - > /dev/null
|
||||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" > /dev/null
|
||||
add-apt-repository -y ppa:longsleep/golang-backports > /dev/null
|
||||
apt-get -qq update
|
||||
apt-get -qq -o=Dpkg::Use-Pty=0 upgrade
|
||||
apt-get -qq -o=Dpkg::Use-Pty=0 install -y golang-go docker.io mercurial tar unzip make gcc g++ python
|
||||
apt-get -qq -o=Dpkg::Use-Pty=0 install -y golang-go docker-ce mercurial tar unzip make gcc g++ python
|
||||
|
||||
usermod -aG docker vagrant
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user