Composer for dockerfiles
Project description
Docker-Printer
docker-printer
is a CLI for easily managing multistep and branching dockerfiles.
Regular multi-stage dockerfiles and docker build
commands are incredibly powerful and useful; however, they are designed for building a single image. Multistage builds can be used to define multiple related images, but this quickly results in complicated dockerfiles, possibly duplicated instructions, and complicated collections of build commands.
docker-printer
addresses this in two main ways:
- By allowing dockerfiles to be composed from re-usable modules.
- By building bake files for use by
docker buildx bake
that consolidate the build processes of multiple images in multiple environments into a single configuration file.
Getting Started and Documentation
pip install docker-printer
docker-printer init
See the documentation for how to get started.
There are also example docker constructs provided in the /examples
folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
docker_printer-1.0.0.tar.gz
(18.9 kB
view hashes)
Built Distribution
Close
Hashes for docker_printer-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d743cb4e418f4dfaa1e66b715fe0ca523f16715fbf0c30edc21e7a430eef69f3 |
|
MD5 | 54a6ae1f94c64e8116ac5410476eac77 |
|
BLAKE2b-256 | 08526d1401debcda6e81a080dc8b99f41e0326f87f8d8587daa64c838b1b1bf8 |