BoreNO

How to Audit and Optimize Dockerfile Build Times and Image Sizes

Designed for Mid-level DevOps engineers and software developers responsible for maintaining CI/CD pipelines and containerized applications in high-velocity product teams to spark real collaboration and high-energy learning.

A 90-minute, hands-on virtual workshop for DevOps and development teams experiencing sluggish deployment cycles and security concerns due to bloated Docker images. Attendees are frustrated by slow feedback loops and find it challenging to identify the root causes of inefficiency in their existing Dockerfiles. The format alternates between practical demos, interactive discussions, and real-world auditing exercises.

Icebreaker
Activity 1

Dockerfile Detective: What Slows You Down?

Kick off with a quick-fire poll: Present three anonymized Dockerfile snippets and ask, 'Which one do you think takes the longest to build, and why?' Allow participants to guess, then reveal the surprising answer—often, the culprit isn’t the most obvious. This sparks curiosity and primes the group for deeper exploration.

Tap to view the full activity.

Why this works

Starting with a puzzle leverages curiosity to motivate learning, and helps surface pre-existing mental models about Dockerfile optimization.

Icebreaker
Activity 2

Mythbusting Docker Layers

Display four common Dockerfile optimization beliefs (e.g., 'The number of layers is always bad'). Ask participants to vote 'fact' or 'myth'. Debrief each statement with a quick explanation and real-life counterexample, smashing misconceptions that hinder efficient builds.

Tap to view the full activity.

Why this works

Addressing and correcting misconceptions leads to more effective learning by replacing faulty mental models with accurate conceptual understanding.

Icebreaker
Activity 3

Fastest Finger: Build Time Bingo

Share a list of 10 quick Dockerfile tweaks (e.g., 'Combine RUN commands,' 'Use .dockerignore'). Ask each participant to type in chat which ones they already use—no wrong answers. Then, highlight the most and least common practices to spark inclusive, low-pressure sharing.

Tap to view the full activity.

Why this works

Low-stakes participation increases psychological safety, helping all voices be heard and making it easy to surface knowledge gaps without judgment.

Icebreaker
Activity 4

Dockerfile Refactor Showdown

Split attendees into breakout groups and assign each a messy Dockerfile. Challenge them to optimize it for speed and size in 5 minutes. Groups then share their top tweak in a rapid-fire round, fostering healthy competition and high energy.

Tap to view the full activity.

Why this works

Active problem-solving in small teams builds confidence and energy while making abstract concepts tangible through immediate application.

Icebreaker
Activity 5

CI/CD Pipeline Dilemma

Pose a realistic scenario: 'Your automated builds are now taking 30 minutes, blocking your deploys. You must choose: delay features, risk cutting corners, or investigate the Dockerfile.' Facilitate a guided discussion about the real trade-offs technical teams face, and how image size impacts business goals.

Tap to view the full activity.

Why this works

Anchoring technical issues in real business pressures increases relevance and urgency, making abstract optimization feel critical.

Icebreaker
Activity 6

Personal Dockerfile Pledge

Invite each participant to reflect: 'What’s one Dockerfile optimization you’ll try in your next sprint?' Have them write it down privately, then optionally share in chat or on a sticky note wall. This closes the loop between learning and action.

Tap to view the full activity.

Why this works

Personal commitment cements learning by bridging the gap between workshop insights and real-world behavior, increasing follow-through.

Sign up to unlock 3 more activities

Get the full pack, facilitation flow, and more ready-to-run ideas.

Sign up with email