Sign inSign up

frankhjung/docbook

By frankhjung

•Updated 7 months ago

Debian based image to render DocBook

Image
Developer tools
0

1.4K

frankhjung/docbook repository overview

⁠docker-docbook

The following lists some basic commands to build Docker image used to render DocBook⁠ into HTML.

The latest Docker image can be found on Docker Hub⁠, here⁠.

⁠Run

The default call to this container returns the current version of the jw⁠ script:

$ docker run -t -i -u $(id -u):$(id -g) frankhjung/docbook:latest
Unable to find image 'frankhjung/docbook:latest' locally
latest: Pulling from frankhjung/docbook
eafd24d25890: Already exists
cf2a8976c989: Already exists
Digest: sha256:622ad885ed60dc02c29fb01cfcbe15aec432125d8db1b77baf49ea6e13000472
Status: Downloaded newer image for frankhjung/docbook:latest
DocBook-utils version 0.6.14 (jw version 1.1)
⁠Example - Create a PDF

To render DocBook⁠ as a PDF document:

docker run \
  --rm -t \
  -v $PWD:/opt/workspace \
  -u $(id -u):$(id -g) \
  frankhjung/docbook:latest \
  jw -f docbook -b pdf -o public index.sgml

This will read from current directory and place the rendered PDF in the public directory.

⁠References

Tag summary

Content type

Image

Digest

sha256:fda2e22ec…

Size

685.5 MB

Last updated

7 months ago

docker pull frankhjung/docbook