Remove the complexity of Dockerfiles and build your container images with simple, yet powerful YAML recipes.
Learn by ExamplesWell, there are many reasons to choose Vib, but here are a few of them.
Define your container image with simple YAML recipes, separating concerns into modules for clean, readable definitions.
Build your container images with a simple command, integrating smoothly into your development workflow.
Extend the functionality of Vib with plugins, allowing you to integrate with your existing tools and services.
Designed by cloud-native developers, Vib is built to make your life easier, allowing you to focus on your code.
The process is simple as counting 1, 2, 3.
Write a simple YAML recipe that describes how to build your container image.
Run Vib with your recipe, and watch it build your container image in seconds.
Use your container image with Docker, Podman, or any other container runtime.
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
Vib is easy to install and use, just download the binary, place it anywhere in your PATH, and you're ready to go.