Skip to content

callassoftware/docker-snippets

Repository files navigation

docker-snippets

some docker related snippets and howtos mainly for the pdfToolbox-cli

note: docker-snippets for other callas products (pdfaPilot, pdfChip) can be found inside the 'other' subdirectory

ready to use docker images on Dockerhub

please see also our ready-to-use docker images on https://hub.docker.com/repository/docker/callassoftware/pdftoolbox-cli

note: Starting with pdfToolbox v15-1-639, these images support not only AMD64/Intel64, but also ARM64 as well

docker pull callassoftware/pdftoolbox-cli

run preflight using the sample.kfpx/sample.pdf contained in the image

docker run --rm -ti callassoftware/pdftoolbox-cli ./pdfToolbox sample.kfpx sample.pdf --licenseserver=<ip of a callas license server>

howto create your own docker images

assumption: there is a linux image build machine with the needed tools already installed (such as git, wget, tar, docker etc.)

download pdfToolbox locally

git clone https://github.com/callassoftware/docker-snippets.git
cd docker-snippets
wget https://www.callassoftware.com/extranet/callas_pdfToolboxCLIandServer/callas_pdfToolboxCLI_x64_Linux_16-1-662.tar.gz
tar zxvpf callas_pdfToolboxCLI_x64_Linux_16-1-662.tar.gz
mv callas_pdfToolboxCLI_x64_Linux_16-1-662 callas_pdfToolboxCLI_Linux_16-1-662

optional: reduce resulting image size

Before building the image, you can optionally reduce its size by removing pdfToolbox components that aren't needed for your specific use case. This allows you to create a smaller "essential" image.

cd callas_pdfToolboxCLI_Linux_16-1-662
bash ../reduce-essential.sh
cd ..

build the image

docker build -t callassoftware/pdftoolbox-cli:v16-1-662 -f Dockerfile-debian .

... try it out ...

docker run --rm -ti callassoftware/pdftoolbox-cli:v16-1-662 ./pdfToolbox --version

About

some docker related snippets and howtos for callas pdfToolbox-cli

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published