Skip to content

Instantly share code, notes, and snippets.

@delagoya
Last active May 1, 2023 20:57
Show Gist options
  • Save delagoya/040383c709792e1a0a96d4f734b65cd1 to your computer and use it in GitHub Desktop.
Save delagoya/040383c709792e1a0a96d4f734b65cd1 to your computer and use it in GitHub Desktop.
Dcokerfile for installing AWS CLI on top of rocker/r-base image.
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
apt-get update
apt-get install -y python-dev python-pip
pip install -U awscli
sudo apt-get update
sudo apt-get install -y python-dev python-pip
sudo pip install -U awscli
@Noohshiny
Copy link

not working for me
E: Package 'python-pip' has no installation candidate

@delagoya
Copy link
Author

delagoya commented May 1, 2023

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