Index / Spec reels / 04

Spec reel 04 · Docker Multi-Stage

A thousand megabytes. Four lines.

A single-stage Go image ships the SDK, the build cache and the OS to production. This is the teardown of the 14 second reel that shears all three away and leaves a 12 MB binary.

01

4-beat storyboard

  1. 00:00 to 00:03

    Hook: the image is a monolith

    Your Go Docker image reads 1,000 MB. Layer labels enter biggest first on eighth notes: OS 420 MB, Go SDK 380 MB, Build Cache 188 MB, Binary 12 MB. At 1.5s a hard swap replaces the stack with 4-line multi-stage swap and 12 MB.

    1,000 MB to 12 MB

  2. 00:03 to 00:08

    Tension: every layer has a weight

    The proof scene rebuilds the stack at true proportion. The OS is 420 MB, the Go SDK 380 MB, the build cache 188 MB, and the binary only 12 MB. Four landing beats at 4.0s, 5.3s, 6.6s and 7.9s mark each part of the build.

    Only 12 of 1,000 MB is the app

  3. 00:08 to 00:12

    Visual proof: the layers shear away

    Each unnecessary layer is cut and falls out of frame, then the camera recedes at 9.4s. The distroless result locks dead center, the 12 MB figure settles, and a recap names the four Dockerfile lines that did it.

    98.8% smaller

  4. 00:12 to 00:14

    Resolution: four lines, one result

    The closing card reads 4 lines. Then 98.8% smaller. The handle lands at 12.7s and the frame holds static for the final second, so the Dockerfile idea and the number are both readable at a glance.

    4 lines

02

Creative direction

Format
9:16 · 1080x1920
Runtime
14s · 60fps
Audio
Procedural SFX, mute-readable

Image bloat is hard to feel as a number, so the reel makes it physical: 988 MB of build tooling falls out of frame. Four layer landings in sequence present multi-stage builds as subtraction rather than a new concept to learn, and the finished image size is the only figure left standing. Fourteen seconds keeps it short enough to loop while a viewer reads the Dockerfile.

03

Data and image math

Image layerSize
OS420 MB
Go SDK380 MB
Build cache188 MB
Binary12 MB
Single-stage total1,000 MB

Multi-stage keeps the 12 MB binary and discards 988 MB of build tooling. 988 / 1,000 = 98.8% smaller. The four Dockerfile lines are FROM golang AS build, RUN go build, FROM distroless static, and COPY --from=build.

04

Build the reel for your launch

One 15 to 20 second reel, custom sound design, one revision round, delivered in 5 days. The 3 second hook is free to approve first.

Send your URL. Get the hook first.

Approve a 3 second cold open before the full reel is built. If the hook does not land, nothing else gets produced.