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

16 lines
494 B
Bash
Executable File

#!/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
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"