... alpine workspace with dev tools for aws api, credstash, docker, bash, python, git, jq, make, ssh, curl, vim ...
-
credstash (for managing secrets in aws)
-
docker engine
-
bash, python, vim, curl, git, make, jq, openssh client and friends
The docker image contains audit info (use docker inspect to see) including version info about key tools e.g. docker, jq, awscli, as well as git build info.
The following assets if mounted under /etc/skel will be copied to your container user's home dir as well when you invoke /bin/bash as a login shell:
-
.aws dir
-
.ssh dir
-
.gitconfig file
If you create a new user in the container from this image (or a derived FROM image) the new user will also get these copied over to their home.
master branch built at shippable.com
git clone https://github.com/opsgang/docker_devbox_aws.git
cd docker_devbox_aws
git clone https://github.com/opsgang/alpine_build_scripts
./build.sh # adds custom labels to image
docker pull opsgang/devbox_aws:stable # or use the tag you prefer
# ... run an ephemeral workspace, mounting your .aws,.ssh and .gitconfig, and the docker daemon from the host
docker run -it --user root
-v $HOME/.aws:/etc/skel/.aws \
-v $HOME/.ssh:/etc/skel/.ssh \
-v $HOME/.gitconfig:/etc/skel/.gitconfig \
-v /var/run/docker.sock:/var/run/docker.sock \
opsgang/devbox_aws:stable /bin/bash
# At shell in container, do what you want ... e.g. install terraform
> terraform_versions 0.9.2
# run a custom script /path/to/script.sh that uses aws cli, curl, jq blah ...
docker run --rm -i -v /path/to/script.sh:/script.sh:ro opsgang/devbox_aws:stable /script.sh