dibo
dibo (dockerignore boilerplates) is a simple CLI tool written in Go for generating .dockerignore files from reusable templates.
It is inspired by gibo, but focused specifically on Docker.
With dibo, you can quickly create a .dockerignore tailored to your project by combining multiple templates.
Features
🚀 Fast and simple — Just one command to generate .dockerignore
📦 Built-in templates — Common languages and frameworks included
🔧 Flexible — Combine multiple templates as needed
💡 fzf integration — Interactive template selection (recommended)
Installation
Preparing...
usage
Generate .dockerignore
Generate .dockerignore for your project
# Single template
dibo init Go
# Multiple templates
dibo init Go Node
List Templates
Show a list of available templates.
dibo list
Dump a template
Output the contents of a specified template to stdout.
dibo dump <template> [<template>...]
typical usage
if you want to generate .dockerignore for Go.
dibo dump Go >> .dockerignore
Recommend : Use with fzf
For an interactive experience, combine dibo with fzf.
dibo list | fzf
# Interactive single selection
dibo dump $(dibo list | fzf) >> .dockerignore
LICENSE
MIT