WhoBuilt

Docker multi-stage build

Also known as multi-stage Dockerfile, multi-stage Docker builds

Key facts

Capabilities
Reuses unchanged build stages and dependencies to make rebuilds faster.

Timeline 1

Dated events, newest first. Open the sources under any item.

How we verify
20211 event
  1. as of Apr 2021Capability
    Reuses unchanged build stages and dependencies to make rebuilds faster.
    “0.5 seconds to rebuild this Docker container, whereas initially it took about 41 seconds” 3:39
    Unverified1 source· Talk

Talks 1

7:39
Using Docker with Next.js

The talk explains how Docker packages a Next.js application into a container and why containers help make deployments consistent. It walks through a multi-stage Dockerfile, building and running the image locally, and using build caching to speed up rebuilds. It then shows how to install and authenticate with the Google Cloud SDK, build the image with Google Cloud Build, and deploy it to Cloud Run. The speaker notes that Kubernetes is a separate topic and focuses on the practical Docker-to-Cloud Run workflow.

Apr 2, 2021· 8 minDiscussed 1:33