Created
October 28, 2020 12:56
-
-
Save gbraccialli/b5c78b046a2db17f4966a2c53740c7d4 to your computer and use it in GitHub Desktop.
Revisions
-
gbraccialli created this gist
Oct 28, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ 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'