Skip to content

Commit

Permalink
Reference docker hub image for better user experience.
Browse files Browse the repository at this point in the history
  • Loading branch information
janpapenbrock authored Jul 29, 2016
1 parent d51f30a commit e0fd007
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
# Run
# Use with image from Docker Hub

docker build --tag ad .
docker run -v $PWD/path/to/asciidoc:/opt/docs -w /opt/docs ad "*.adoc"
Convert all `.adoc` files in `path/to/asciidoc` into `.pdf` which will be placed in `path/to/asciidoc` as well.

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

# Build locally

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

0 comments on commit e0fd007

Please sign in to comment.