Skip to main content

Dogen [dodʒen]

This is a simple tool to generate Dockerfile files from YAML templates.

much_files.jpg

Usage

This tool is shipped as a Docker image registered as jboss/dogen. You can see the Dockerfile for this image in the main directory of the source distribution. This Docker image uses some conventions:

  1. The image template that should be converted into Dockerfile is expected to be available at /input/image.yaml.

  2. The output directory will be /output.

  3. The directory with (optional) scripts should be available at /scripts.

Considering above you need to remember to mount appropriate volumes at the container start. You are free to change the paths, but please remember to provide new locations as part of the container’s run command instruction.

Examples

Assuming your current working directory contains your image.yaml file, any scripts your image.yaml references are in an adjacent subdirectory called scripts and you want the output written to an adjacent sub-directory named out:

docker run -it –rm -v $(pwd):/tmp:z dogen:latest –verbose /tmp/image.yaml /tmp/out

Metadata

Release files for dogen 2.4.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dogen 2.4.4
File Size Uploaded
dogen-2.4.4.tar.gz 15.5 kB Details

Release files / dogen-2.4.4.tar.gz

Download URL dogen-2.4.4.tar.gz
Size 15.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d46f64dfad25cfb60c4becfe7e7fd630261b5ba1421406447bbd4cb64aaaa3a9
BLAKE2b-256 checksum
How to use checksums
91311f46245ef8dd5316b7efc9eaf4bed6100a623172051bb51174023fbb4493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page