C2A-Installation-Server/docker/install-sdk.sh

16 lines
494 B
Bash
Raw Normal View History

2019-04-22 03:09:05 +00:00
#!/bin/bash
wget https://dl.google.com/android/repository/sdk-tools-linux-4333796.zip -P /root/
unzip /root/sdk-tools-linux-4333796.zip -d /root/
rm /root/sdk-tools-linux-4333796.zip
2019-04-25 00:42:45 +00:00
yes | /root/tools/bin/sdkmanager --licenses
yes | /root/tools/bin/sdkmanager "platforms;android-28" --sdk_root=/opt/android-sdk
apt-get update
apt-get install -y curl python3-pip
curl -sL https://deb.nodesource.com/setup_10.x | bash -
apt-get install -y nodejs
git config --global http.sslverify "false"