Skip to main content
Help us improve Python packaging – donate today!

Dockerfile generator tool

Project Description

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

Release history Release notifications

This version
History Node

2.4.4

History Node

2.4.3

History Node

2.4.2

History Node

2.4.1

History Node

2.4.0

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.1.0

History Node

2.0.1

History Node

2.0.0

History Node

2.0.0rc16

History Node

2.0.0rc15

History Node

2.0.0rc14

History Node

2.0.0rc13

History Node

2.0.0rc12

History Node

2.0.0rc11

History Node

2.0.0rc10

History Node

2.0.0rc9

History Node

2.0.0rc8

History Node

2.0.0rc7

History Node

2.0.0rc6

History Node

2.0.0rc4

History Node

2.0.0rc3

History Node

2.0.0rc2

History Node

2.0.0rc1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dogen-2.4.4.tar.gz (15.5 kB) Copy SHA256 hash SHA256 Source None Sep 21, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page