Habitus
Habitus adds workflows to Docker build. This means you can create a chain of builds to generate your final Docker image based on a workflow. This is particularly useful if your code is in compiled languages like Java or Go or if you need to use secrets like SSH keys during the build.
A build flow tool for Docker
Habitus is a standalone build flow tool for Docker. It’s a command line tool that builds Docker images based on their Dockerfile and a build.yml.
Key features:
- Use build.yml to build the image
- Supports multi-tenancy of builds by using
uid parameters
- Allows to run arbitrary commands inside of the build container
- Allows dovetailing (sequencing) of the images from different steps
- After build, Habitus will run Cleanup command. This will result in 'squashing' the image, therefore removing any traces of unwanted layers
- Allows you to define and manage secrets configuration for your build
- Allows you specify any Artifacts - they'll be copied from the built image onto the work directory, so they'll be available for next steps.
- Support for non TLS connections
Why Habitus? (Problem → solution)