O'Reilly logo

The Packer Book by James Turnbull

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7 Pipelines and workflows

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.

7.1 Our build pipeline

We’re going to build dual images, a Docker image and an Amazon AWS AMI, using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required