Skip to content
/ ebcli Public
forked from wilson208/ebcli

Elastic Beanstalk CLI based on Node 14 Alpine

Notifications You must be signed in to change notification settings

GCDTech/ebcli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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'

About

Elastic Beanstalk CLI based on Node 14 Alpine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%