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

Uploaded Source

Built Distributions

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

Uploaded Python 3

docker_printer-0.3.0-py2.py3-none-any.whl (8.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file docker-printer-0.3.0.tar.gz.

File metadata

  • Download URL: docker-printer-0.3.0.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.28.1

File hashes

Hashes for docker-printer-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5ab656b6404b22ecd39035cd0f2e98321fad8a16f43396f5c0b66bba876e1f2b
MD5 4b62cfedfbe23243c6cc4f99e2e79130
BLAKE2b-256 76ffe439c4d31ec5dcab6516a1ef49d1578274275b8d54c0750b1e70135e02df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for docker_printer-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8564fee52c1ff2e3e6f3403042d619f9f85a6e972f8f4b2b74d9f64ef08e49f1
MD5 4b48fb118784856cfc8ff289894250d9
BLAKE2b-256 b12528ad146b5af868220f3c9ddc532b1fdcc1ad015dba0206b5058b1bcdfc8d

See more details on using hashes here.

File details

Details for the file docker_printer-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for docker_printer-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 125c250f7291d3642fe6df569ebe6a89b47292df3da4488c28f5fe62c3bcc4bd
MD5 b2bfe80fe23632c4c340b4d9a9435fcc
BLAKE2b-256 0daf632818466f625f2971309cb03a59fbbf20060c0abc3168b22e1f1ad81d95

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