Getting Start
Run the following to download the latest container from Docker Hub:
docker pull harbor.sydeng.vmware.com/rcroft/packerplus:latest
Run the following to download a specific version from Docker Hub:
docker pull harbor.sydeng.vmware.com/rcroft/packerplus:x.y.z
Open an interactive terminal:
docker run --rm -it harbor.sydeng.vmware.com/rcroft/packerplus console
Run a local plan:
cd /path/to/tf/files
docker run --rm -it --name packer -v $(pwd):/tmp -w /tmp harbor.sydeng.vmware.com/rcroft/packerplus init
docker run --rm -it --name packer -v $(pwd):/tmp -w /tmp harbor.sydeng.vmware.com/rcroft/packerplus validate
docker run --rm -it --name packer -v $(pwd):/tmp -w /tmp harbor.sydeng.vmware.com/rcroft/packerplus fmt
docker run --rm -it --name packer -v $(pwd):/tmp -w /tmp harbor.sydeng.vmware.com/rcroft/packerplus build
Where /path/to/tf/files
is the local path for your packer scripts.