July 2017
Intermediate to advanced
150 pages
1h 37m
English
In the last few chapters we’ve seen how to perform a variety of tasks with Packer. We’ve built images, provisioned them, worked with Docker, seen how post-processing works, and written some tests to validate that our images are correct. We’ve also targeted a couple of platforms: Amazon EC2 AMI images and Docker container images.
In this chapter we’re going to combine many of these concepts to produce a multi-target, consistently provisioned image. Our image will be built both as an Amazon AMI and as a Docker image. We’ll also post-process the image selectively to ensure it is deployed to both Amazon and the Docker Hub.
We’re going to build dual images, a Docker image and an Amazon AWS AMI, using ...
Read now
Unlock full access