Skip to content

hochzehn/asciidoctor-pdf-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Use with image from Docker Hub

Convert all .adoc files in path/to/asciidoc into .pdf which will be placed in path/to/asciidoc as well.

docker run --rm -v $PWD/path/to/asciidoc:/opt/docs -w /opt/docs hochzehn/asciidoctor-pdf "*.adoc"

Build locally

docker build --tag asciidoctor-pdf .
docker run --rm -v $PWD/path/to/asciidoc:/opt/docs -w /opt/docs asciidoctor-pdf "*.adoc"