Environment for building markdown documentation projects with MdProc
1.1K
This image is a prepared environment for running MdProc in a gulp task.
It comes with the necessary tools to build a MdProc based documentation project with all supported output formats (HTML, TEX, PDF, DOCX).
To reduce the image size for projects which do not need certain output formats, this image comes in different flavors.
mastersign/mdproc:html
mastersign/mdproc:docx
mastersign/mdproc:htmlmastersign/mdproc:pdf, mastersign/mdproc:latest
mastersign/mdproc:docxAll flavors come in an additional CLI flavor for usage as CLI tool. These flavors handle the permission issue, when operating on a bind mount.
mastersign/mdproc:html-climastersign/mdproc:docx-climastersign/mdproc:pdf-cli, mastersign/mdproc:clidocker run --rm -ti \
-v ~/my-dock-project:/project \
-e LOCAL_USER_ID=`id -u $USER`
mastersign/mdproc:html-cli \
/usr/bin/run-gulp html
Just use one of the flavors (non CLI) as the context for the build step, which is executing Gulp.
Example for GitLab CI .gitlab-ci.yml:
image: mastersign/mdproc:pdf
build-docs:
stage: build
before_script:
- "npm install --quiet"
script: "gulp html pdf"
This project is published under the MIT license.
Copyright © by Tobias Kiertscher [email protected].
Content type
Image
Digest
Size
2 GB
Last updated
over 7 years ago
docker pull mastersign/mdproc