Export-service docker build fails

I downloaded the latest version of the pdf export service module (export_module_pdf_2022-06-29.zip), unpacked it, and tried to do a docker build.
docker build -t dhtmlx/scheduler-gantt-export:latest .
It completes the first 4 steps fine and fails on the 5th step.

Step 5/18 : RUN apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib
---> Running in 150d275a0716
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package libgnome-keyring-dev
The command '/bin/sh -c apt-get install -y xvfb x11-xkb-utils xfonts-100dpi xfonts-75dpi xfonts-scalable xfonts-cyrillic x11-apps clang libdbus-1-dev libgtk2.0-dev libnotify-dev libgnome-keyring-dev libgconf2-dev libasound2-dev libcap-dev libcups2-dev libxtst-dev libxss1 libnss3-dev gcc-multilib g++-multilib' returned a non-zero code: 100

I removed libgnome-keyring-dev from the list of packages in that apt-get install line and the docker build completed successfully and I was able to get the service to run and produce a pdf.

I just produced a pdf of a basic dhtmlx gantt chart. There could be some functionality that we’re not using that is broken without this package. Or it could be that everything is working 100% because the functionality provided by that library is now being provided by another in that image.

Hello Matt,
Thank you for letting us know about that issue. It seems that the package is no longer needed to export the data to PDF and PNG.
I checked that the export works correctly, so that package will be removed from the Dockerfile.

1 Like