Sign inSign up

envimate/awscli

By envimate

•Updated 5 months ago

Simple ubuntu image with awscli installed. Useful for CI/CD pipelines using awscli.

Image
0

7.9K

envimate/awscli repository overview

⁠About the image

This image is based on ubuntu latest image and installs awscli with no other dependencies. The image is built daily.

This image is useful in situations when your CI/CD pipeline (e.g. bitbucket pipelines) requires using aws cli, and has a built-in support for environmental variables.

⁠Run using docker

Given you have AWS_SECRET_ACCESS_KEY, AWS_ACCESS_KEY_ID and AWS_DEFAULT_REGION exported as environmental variables, you can run the image by passing them along to the container.

docker run -i -e AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} -e AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} -e AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION} -t envimate/awscli

⁠Run using docker-compose

curl -O https://bitbucket.org/envimate/dockerfiles/raw/master/aws-cli/docker-compose.yml
docker-compose run awscli

⁠Example bitbucket pipeline

image: envimate/awscli:latest

pipelines:
  default:
    - step:
        script:
          - aws s3 cp --recursive public/ s3://<YOUR-WEBSITE-BUCKET>/

Tag summary

Content type

Image

Digest

sha256:3e44cab07…

Size

104 MB

Last updated

5 months ago

docker pull envimate/awscli