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

Uploaded Source

Built Distribution

docker_printer-0.4.0-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for docker_printer-0.4.0.tar.gz
Algorithm Hash digest
SHA256 36950869e4d5b0b4e5087142adbe20c88a833132de84821b1d5f9ac25b6f3f60
MD5 acea249344d0f07ba4e6954ac625131f
BLAKE2b-256 ef1fde7759ee420bbaad830b1eac7369889f1deda2aad5ce65bf3edd88695144

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_printer-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b6c95669e0710ad8598be3d11573e922a30cd8673df0610bb15d0fdba965e622
MD5 80d4df48e55eafd9ff3a5fdd914863f8
BLAKE2b-256 e1998d75e9ef151fb4c36b5a1181903d019881ef57306116c209134f5c4b815a

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