Alpine image with Packer + AWS CLI + Goodies
500K+
Docker image with Hashicorp Packer + AWS CLI + Goodies
- ca-certificates
- update-ca-certificates
- curl
- unzip
- bash
- python
- py-pip
- openssh
- git
- make
- tzdata
- awscli (via PIP)
$> docker run --rm -v $(pwd):/opt/workspace \
marcelocorreia/packer \
packer [--version] [--help] <command> [args]
$> docker run --rm -v $(pwd):/opt/workspace \
-e TZ=Australia/Sydney \
marcelocorreia/packer \
packer [--version] [--help] <command> [args]
$> docker run --rm -v $(pwd):/opt/workspace \
marcelocorreia/packer \
packer build template.json \
-var aws_access_key=${aws_access_key_id} \
-var aws_secret_key=${aws_secret_access_key}
# Packer
#
bake-mysql:
$(call packer_run, build, -var-file=mysql-vars.json, mysql.json)
validate-consul:
$(call packer_run, validate, -var-file=consul-vars.json, consul.json)
define packer_run
packer $1 $2 $3;
endef
platform: linux
image_resource:
type: docker-image
source:
repository: marcelocorreia/packer
tag: 'latest'
inputs:
- name: packer-repo
run:
path: packer
args:
- build
- -var-file
- variables.vars
Content type
Image
Digest
Size
55 MB
Last updated
almost 8 years ago
docker pull marcelocorreia/packer