Hi @vale !
Thanks for the follow-up here. I was able to get a newer version of Python3 installed on the cimg/node:12.16.1
image and then AWS CLI installed using this command:
- run:
name: install-awscli
command: |
sudo apt-get -y update
sudo apt -y install software-properties-common
sudo add-apt-repository -y ppa:deadsnakes/ppa
sudo apt -y install python3.9
sudo apt -y install python3.9-distutils
sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
sudo apt install -y python3-pip python3-dev
sudo pip3 install --upgrade setuptools
sudo pip3 install --upgrade pip
sudo pip3 install --upgrade distlib
sudo pip3 install awsebcli --upgrade
Quite the run
command, but seemed to do the job. I am sure there are other methods of doing this as well, but this was the first one I had that was successful. You may want to play around with it to see if you can clean it up or remove some of the installs.
Hope that helps!
-Nick