-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.sh
More file actions
36 lines (28 loc) · 873 Bytes
/
Dockerfile.sh
File metadata and controls
36 lines (28 loc) · 873 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
echo "update"
apt-get update -y > log
echo "install apt-utils"
apt-get install apt-utils -y > log
echo "install curl"
apt-get install curl -y > log
echo "install sudo"
apt-get install sudo -y > log
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash - > log
echo "install git"
sudo apt-get install git -y > log
echo "load tablebases"
sudo git clone https://github.com/hyperbotauthor/syzygy /syzygy
rm -rf /syzygy/.git
ls /syzygy
echo "install yarn"
curl -sS 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
sudo apt-get update -y > log
sudo apt-get install yarn -y > log
yarn --version
echo "install nodejs"
sudo apt-get install nodejs -y > log
echo "update node version"
npm cache clean -f > log
npm install -g n > log
n latest > log
node -v