Created
October 28, 2020 12:56
-
-
Save gbraccialli/b5c78b046a2db17f4966a2c53740c7d4 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
cd /tmp | |
sudo sh -c 'mkdir /app' | |
sudo sh -c 'rm -f /tmp/Anaconda3-2019.10-Linux-x86_64.sh' | |
sudo sh -c 'wget https://repo.anaconda.com/archive/Anaconda3-2019.10-Linux-x86_64.sh' | |
sudo sh -c 'chmod 744 ./Anaconda3-2019.10-Linux-x86_64.sh' | |
sudo sh -c '/tmp/Anaconda3-2019.10-Linux-x86_64.sh -b -p /app/anaconda3/' | |
sudo sh -c 'rm -f /tmp/Anaconda3-2019.10-Linux-x86_64.sh' | |
sudo sh -c '/app/anaconda3/bin/conda init' | |
sudo sh -c '/app/anaconda3/bin/conda create -y -n xxx python=3.6' | |
sudo sh -c 'aws configure set s3.signature_version s3v4' | |
sudo sh -c 'aws s3 cp s3://xxxxxxx/requirements.txt /tmp/requirements.txt' | |
sudo sh -c 'source /app/anaconda3/bin/activate xxx;pip install -r /tmp/requirements.txt' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment