Dockerfile generator tool
Project description
This is a simple tool to generate Dockerfile files from YAML templates.
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:
The image template that should be converted into
Dockerfile
is expected to be available at/input/image.yaml
.The output directory will be
/output
.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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file dogen-2.0.0rc12.tar.gz
.
File metadata
- Download URL: dogen-2.0.0rc12.tar.gz
- Upload date:
- Size: 14.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3d33cf6550a25efb2d59108dfead74035da56bc8a30d3820028da873819d82 |
|
MD5 | 6de4fa8188c93d32c6dcbd5933dfcc59 |
|
BLAKE2b-256 | 0f25da337ee6ddaf8921be145e3a6cc96eef7681e0d42d096f455ca9d579836d |