The Easiest Way to Build Container Images

Remove the complexity of Dockerfiles and build your container images with simple, yet powerful YAML recipes.

Learn by Examples

Why Choose Vib?

Well, there are many reasons to choose Vib, but here are a few of them.

Modular Recipe Format

Define your container image with simple YAML recipes, separating concerns into modules for clean, readable definitions.

Easy to Use

Build your container images with a simple command, integrating smoothly into your development workflow.

Extensible with Plugins

Extend the functionality of Vib with plugins, allowing you to integrate with your existing tools and services.

Built for Developers ❤️

Designed by cloud-native developers, Vib is built to make your life easier, allowing you to focus on your code.

How Vib Works

The process is simple as counting 1, 2, 3.

1. Write a Recipe

Write a simple YAML recipe that describes how to build your container image.

2. Run Vib

Run Vib with your recipe, and watch it build your container image in seconds.

3. Use Your Image

Use your container image with Docker, Podman, or any other container runtime.

Familiarize With Recipes

We chose YAML as the format for recipes, because it's easy to read and write, and it's familiar to most developers.

name: My recipe
id: my-recipe
stages:
  - id: build
    base: debian:sid-slim
    labels:
      maintainer: My Awesome Team
    args:
      DEBIAN_FRONTEND: noninteractive
    runs:
      commands:
        - echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/01norecommends
    modules:
      - name: update
        type: shell
        commands:
          - apt update
          
      - name: vib
        type: go
        source:
          type: git
          url: https://github.com/vanilla-os/vib
          branch: main
          commit: latest
        buildVars:
          GO_OUTPUT_BIN: /usr/bin/vib
        modules:
          - name: golang
            type: apt
            source:
              packages:
              - golang
              - ca-certificates
      

Get Started with Vib

Vib is easy to install and use, just download the binary, place it anywhere in your PATH, and you're ready to go.