Engineering Blog


Get Hands-On: Automate Docker Builds with Pulumi and Docker Build Cloud

When : June 25
Time : 9.30 pm GMT+5.30

In today’s fast-paced development environment, efficient and reliable build processes are crucial for maintaining productivity and ensuring timely delivery of applications. Automating these processes can significantly reduce manual effort, improve consistency, and accelerate development cycles. This workshop is designed to equip you with the skills to automate your Docker build process using the Pulumi Docker Build provider and Docker Build Cloud. By leveraging Infrastructure as Code (IaC) with TypeScript, you will streamline your Docker builds and optimize performance with external caching.

Workshop Overview

During this comprehensive workshop, you will:

  1. Learn to Create and Configure a Docker Build Cloud (DBC) Builder
    • Discover the benefits of using Docker Build Cloud (DBC) for managing and optimizing your Docker builds.
    • Set up a DBC builder to leverage external caching, drastically reducing build times and improving efficiency.
  2. Define Infrastructure as Code (IaC) with Pulumi in TypeScript
    • Understand the principles of Infrastructure as Code (IaC) and how Pulumi simplifies managing your infrastructure.
    • Use TypeScript to write Pulumi programs that define and manage your Docker build configurations and other infrastructure resources.
  3. Build an NGINX Dockerfile Using Pulumi and Docker Build Cloud
    • Gain hands-on experience in writing and configuring Dockerfiles for your applications.
    • Learn how to integrate Pulumi with Docker Build Cloud to automate the build process for an NGINX Dockerfile, demonstrating the practical application of these tools.

What You Will Learn

How to Create and Configure a Docker Build Cloud (DBC) Builder

A Docker Build Cloud (DBC) builder provides a powerful solution for managing Docker builds with enhanced capabilities such as external caching. In this part of the workshop, you will:

  • Setup DBC Builder: Follow step-by-step instructions to create and configure a DBC builder that suits your project’s requirements.
  • Leverage External Caching: Understand how to utilize external caching to minimize build times by reusing layers from previous builds.
  • Optimize Build Processes: Learn best practices for configuring your DBC builder to maximize performance and efficiency.

How to Create a Pulumi Program in TypeScript to Define IaC

Pulumi is a modern infrastructure as code platform that allows you to define cloud infrastructure using familiar programming languages. In this section, you will:

  • Introduction to Pulumi: Get acquainted with Pulumi and its capabilities for managing infrastructure through code.
  • Writing Pulumi Programs: Learn how to write Pulumi programs in TypeScript, starting with basic examples and progressing to more complex configurations.
  • Managing Docker Builds with Pulumi: Discover how to use Pulumi to automate and manage your Docker build processes, ensuring they are consistent and repeatable.

How to Build an NGINX Dockerfile Using Pulumi and Docker Build Cloud

In this hands-on segment, you will apply what you’ve learned to build and automate an NGINX Dockerfile:

  • Writing Dockerfiles: Learn the fundamentals of writing Dockerfiles, focusing on creating an optimized and secure NGINX Docker image.
  • Automating Builds with Pulumi: Integrate your Dockerfile with Pulumi, automating the build process and managing it through your Pulumi program.
  • Using DBC for Builds: Configure Docker Build Cloud to handle the build process, leveraging its caching capabilities to speed up the builds.

Why Attend This Workshop?

  • Hands-On Learning: Gain practical experience through hands-on labs and real-world examples.
  • Expert Guidance: Learn from experts who will guide you through the process and provide insights based on industry best practices.
  • Boost Efficiency: Discover how to automate and optimize your Docker build processes, saving time and resources.
  • Stay Current: Keep up with the latest tools and techniques in infrastructure management and DevOps practices.


By the end of this workshop, you will have a solid understanding of how to automate your Docker build process using Pulumi and Docker Build Cloud. You’ll be equipped with the knowledge to create and configure a Docker Build Cloud builder, write Pulumi programs in TypeScript to define your infrastructure as code, and build Dockerfiles efficiently. Join us and take your DevOps skills to the next level, ensuring your development processes are streamlined, efficient, and ready to meet the demands of modern application development.

Signup for the Workshop

Reference to the Article : Pulumi

Follow us for More Updates

Previous Post
Next Post