Skip to main content

Composer for dockerfiles

Project description

Documentation Status PyPI

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


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-0.3.1.tar.gz (18.1 kB view details)

Uploaded Source

Built Distribution

docker_printer-0.3.1-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

Details for the file docker_printer-0.3.1.tar.gz.

File metadata

  • Download URL: docker_printer-0.3.1.tar.gz
  • Upload date:
  • Size: 18.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for docker_printer-0.3.1.tar.gz
Algorithm Hash digest
SHA256 0543bfae17fbf155d215ac7be1e6ae666b23368c8aa01a38c808fb36befb8b42
MD5 2766142a3eaeb2fb8d606365bad765f4
BLAKE2b-256 6b3467c26945826bfedd49af0ae131618edd82abf0a98a1230ca6e7856d98f9f

See more details on using hashes here.

File details

Details for the file docker_printer-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for docker_printer-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 77913759eaa9b674b4e7b248dc0d7a3901162c878cc637e7e7260205183c214c
MD5 7b0bf07c42263a0c983d8ec2bf4fd7e3
BLAKE2b-256 af157a9522f9970356bc75141257478d16f4dd18c11d7c996a1e36733173b06f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page