Public Repository

Last pushed: 3 years ago
Short Description
A minimal Alpine Linux build with awscli (size: 59.32 MB)
Full Description


A minimal (see Rant below) Docker image based on Alipine Linux, (thanks to cgswong for the instruction!) image with awscli installed via pip.


You need to have your AWS keys setup, see Getting Set Up with the AWS if you don't, then run aws --configure on the host you're running this Docker image on, or simply copy them (securely) in place (~/.aws) from another host.

To run, simply use docker run --rm -t -i -v ~/.aws:/root/.aws philcryer/min-jessie-awscli and tack on the aws commands at the end. For example:

docker run --rm -t -i -v ~/.aws:/root/.aws philcryer/min-jessie-awscli s3 ls

If you get results without errors, you're gtg, run it again with aws <command> help for usage on other commands. If you get an error, make sure the ~/.aws directory is setup correctly, which you test by running aws commands outside of Docker.


I need to have this in github so I can setup automated builds, but until then, in the interest of transparency, here ya go:

FROM gliderlabs/alpine:3.1
MAINTAINER Phil Cryer <>

RUN apk-install python py-pip \
    && pip install --upgrade awscli \
    && apk del py-pip \
    && apk del py-setuptools \
    && rm -rf /var/cache/apk/* \
    && rm -rf /tmp/*




Once again, I look for a Docker image to use, and find ones that are so bloated it's comical. For example, yaronr/awscli has been downloaded 16,265 times and it's 216.1 MB, but even better is alexturek/aws-cli-docker that has been downloaded 45,088 times... it is freaking 913.3 MB! What am I missing here? Why put crap like that out? Do they work for cloud storage companies? :)


Docker Pull Command