Skip to content

alpine workspace with dev tools for aws api, credstash, docker, bash, python, git, jq, make, ssh, curl, vim ...

License

Notifications You must be signed in to change notification settings

opsgang/docker_devbox_aws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_devbox_aws

... alpine workspace with dev tools for aws api, credstash, docker, bash, python, git, jq, make, ssh, curl, vim ...

featuring ...

labels

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.

skel dirs

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.

building

master branch built at shippable.com

Run Status

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

installing

docker pull opsgang/devbox_aws:stable # or use the tag you prefer

running

# ... 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

About

alpine workspace with dev tools for aws api, credstash, docker, bash, python, git, jq, make, ssh, curl, vim ...

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages