Public Repository

Last pushed: 2 years ago
Short Description
java:latest pdfbox 1.8.11
Full Description

FROM java:latest
RUN /usr/bin/wget -O /tmp/pdfbox-app-1.8.11.jar http://www.us.apache.org/dist/pdfbox/1.8.11/pdfbox-app-1.8.11.jar
WORKDIR /tmp
ENTRYPOINT ["java", "-jar", "/tmp/pdfbox-app-1.8.11.jar"]
CMD [""]

=============================
use:
docker run -v {/path/to/file/on/host}:{/some/dir/at/container} elchubi/pdfbox <command> <args..> {/some/dir/at/container}/file.pdf

Possible commands are:

ConvertColorspace
Decrypt
Encrypt
ExtractText
ExtractImages
Overlay
OverlayPDF
PrintPDF
PDFDebugger
PDFMerger
PDFReader
PDFSplit
PDFToImage
TextToPDF
WriteDecodedDoc

========================
example

docker run -v /home/core/pdfbox:/mnt elchubi/pdfbox PDFSplit /mnt/TheDockerBook_sample.pdf

splits the previously PDF file (http://www.dockerbook.com/TheDockerBook_sample.pdf ) from / to /home/core/pdfbox at host

Docker Pull Command
Owner
elchubi