Microservices with Docker on Microsoft Azure™ (includes Content Update Program)
by Boris Scholl, Trent Swanson, Daniel Fernandez
Build a Hierarchy of Images
To get a better understanding of how to factor real-world images, we’ll look at the hierarchy of the node:latest image at the time of this writing, starting with the very first image in the hierarchy
• debian:jessie: This Dockerfile starts from scratch, meaning it is a base image. It includes a single command to add “rootfs,” the root filesystem which also adds command line tools like bash, cat, and ping. It also sets bash as the default command if you were to create a Debian container.
• buildpack-deps:jessie-curl: This Dockerfile starts from debian:jessie and runs the apt-get package manager to install curl, wget, and ca-certificates.
• buildpack-deps:jessie-scm: This Dockerfile starts from buildpack-deps:jessie-curl ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access