Skip to content

Instantly share code, notes, and snippets.

@gbraccialli
Created October 28, 2020 12:56
Show Gist options
  • Save gbraccialli/b5c78b046a2db17f4966a2c53740c7d4 to your computer and use it in GitHub Desktop.
Save gbraccialli/b5c78b046a2db17f4966a2c53740c7d4 to your computer and use it in GitHub Desktop.
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