Skip to content

dh1337/docker-autostacker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-autostacker

Run autostacker24 w/o installing ruby on your system.

Usage

Run the container like this:

docker run \
    -v "${PWD}:/workdir:ro" \         # <-- this mounts your current directory inside the container's work dir
    -v "${HOME}/.aws:/.aws:ro" \      # <-- this mounts your aws credentials inside the container's home dir
    -e AWS_PROFILE=some-aws-profile \ # <-- choose your aws profile
    felixb/autostacker \
    update \                          # <-- run any autostacker24 command
        --stack some-stack \
        --template some-template.yaml

You might want to add the following function to your .bashrc or similar to allow even easier usage:

function autostacker() {
    docker run \
        --rm \
        -v "${PWD}:/workdir:ro" \
        -v "${HOME}/.aws:/.aws:ro" \
        -e "AWS_PROFILE=${AWS_PROFILE}" \
        -e "AWS_REGION=${AWS_REGION}" \
        felixb/autostacker \
        "${@}"
}

About

Run autostacker24 w/o installing ruby.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dockerfile 100.0%