---
date: '2024-02-08'
description: concurrent, cache-efficient build system for oci-compliant images using llb intermediate representation, analogous to llvm ir for dockerfiles.
id: BuildKit
modified: 2026-06-05 15:08:30 GMT-04:00
tags:
  - seed
  - container
title: BuildKit
created: '2024-02-08'
published: '2024-02-08'
pageLayout: default
slug: thoughts/BuildKit
permalink: https://aarnphm.xyz/thoughts/BuildKit.md
generator:
  quartz: v4.6.0
  hostedProvider: Cloudflare
  baseUrl: aarnphm.xyz
full: https://aarnphm.xyz/llms-full.txt
---
Concurrent, cache-efficient, and secure build system for building [[thoughts/OCI|OCI-compliant]] images and artifacts.

Containers are a form of [[thoughts/Content-addressable storage]], such that you can run your application within an isolated environment.

### LLB

You can think of it as LLVM IR to C is what LLB is to Dockerfile.

Marshaled as a protobuf message, see [definition](https://github.com/moby/buildkit/blob/master/solver/pb/ops.proto)

See also [[thoughts/In-memory representation|Flatbuffer]]

