Sign inSign up

wilson208/ebcli

By wilson208

•Updated almost 6 years ago

Elastic Beanstalk CLI based on Node 14 Alpine

Image
0

4.5K

wilson208/ebcli repository overview

⁠Elastic Beanstalk CLI Image

Docker Image Version (tag latest semver)Docker PullsDocker Image Size (tag)

Based on Node 14 Alpine Image

⁠Usage

docker run --rm -v "${HOME}/.aws:/root/.aws" -v "$(pwd):/app" wilson208/ebcli

⁠Breakdown of that command
  • -v "${HOME}/.aws:/root/.aws" - Mount stored AWS credentials

  • -v "$(pwd):/app" - Mount current directory into the workdir of that container

⁠Setup Alias

I personally use this by aliasing eb to run this image, I have done that by adding this line into my ~/.bash_profile

alias eb='docker run --rm -v "${HOME}/.aws:/root/.aws" -v "$(pwd):/app" wilson208/ebcli'

After you do this, reload your terminal and then use eb command as normal, e.g. eb create.

⁠Specify Credentials

The above examples show how this container can be passed pre-configured AWS credentials by mounting the ~/.aws directory into the container. Alternatively, the standard AWS environment variables can be used as follows:

docker run --rm -e AWS_ACCESS_KEY_ID={ACCESS KEY} -e AWS_SECRET_ACCESS_KEY={SECRET KEY} -v "$(pwd):/app" wilson208/ebcli'

Tag summary

Content type

Image

Digest

Size

174.2 MB

Last updated

almost 6 years ago

docker pull wilson208/ebcli