... alpine container with common tools to use Hashicorp's Packer on or for aws
513
... alpine container with common and consistent tools to use Hashicorp's Packer on or for aws
[hashicorp's packer] 1
[aws cli] 2
[credstash] 3 (for managing secrets in aws)
bash, curl, git, make, jq, openssh client [and friends] 4
https://github.com/opsgang/docker_aws_packer
master branch built at shippable.com
docker pull opsgang/aws_packer:stable # or use the tag you prefer
docker run --rm -i -v /path/to/script.sh:/script.sh:ro opsgang/aws_packer:stable /script.sh
export AWS_ACCESS_KEY_ID="i'll-never-tell" # replace glibness with your access key
export AWS_SECRET_ACCESS_KEY="that's-for-me-to-know" # amend as necessary
docker run --rm -i \ # ... run interactive to see stdout / stderr
-v /some/python/script.py:/my.py:ro \ # ... assume the file is executable
--env AWS_ACCESS_KEY_ID \ # ... will read it from your env
--env AWS_SECRET_ACCESS_KEY \ # ... will read it from your env
--env AWS_DEFAULT_REGION=eu-west-2 \ # ... adjust geography to taste
opsgang/aws_packer:stable /my.py # script can access these env vars
# Oh look! vim is preinstalled. How cool! And gratuitous.
docker run -it opsgang/aws_packer:stable /bin/bash
Content type
Image
Digest
Size
82 MB
Last updated
almost 8 years ago
docker pull opsgang/aws_packer:stable