tilt-dev / tilt-example-builders

A collection of examples of how to use Tilt with different image builders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tilt-example-builders

Build Status

A collection of examples of how to use Tilt with different image builders.

Contents

kubectl build

Drop-in replacement for docker build that moves builds off your laptop.

kubectl build deploys Docker BuildKit to a Kubernetes pod and builds the image in-cluster.

Install kubectl build: homepage

Example Tiltfile: ./kubectl_build

ko

Turn-key Go apps without any fuss.

Runs go build locally and packs it into an image.

ko works best when your Go app is a simple static binary, and doesn't have any dependencies on the OS environment (e.g., loading dynamic C libraries.)

Install ko: homepage

Example Tiltfile: ./ko

pack

Stackable image builders to add whatever you need to an image.

Buildpacks give you better control over what ends up in the final container image. It's easier to keep out the junk you don't want (like buildtools), and keep the good stuff you do want (like hot-reloading).

Install pack: homepage

Example Tiltfile: ./pack

About

A collection of examples of how to use Tilt with different image builders

License:Apache License 2.0


Languages

Language:Starlark 25.6%Language:Go 24.2%Language:HTML 15.5%Language:Python 14.8%Language:Shell 13.4%Language:Dockerfile 6.5%