Last active
May 1, 2023 20:57
-
-
Save delagoya/040383c709792e1a0a96d4f734b65cd1 to your computer and use it in GitHub Desktop.
Dcokerfile for installing AWS CLI on top of rocker/r-base image.
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
FROM rocker/r-base | |
RUN apt-get update | |
# install python tools | |
RUN apt-get install -y python-dev python-pip | |
# install AWS CLI | |
RUN pip install -U awscli |
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
apt-get update | |
apt-get install -y python-dev python-pip | |
pip install -U awscli |
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
sudo apt-get update | |
sudo apt-get install -y python-dev python-pip | |
sudo pip install -U awscli |
This is a gist from 2017 and you expect it to work?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
not working for me
E: Package 'python-pip' has no installation candidate