Sample Header Ad - 728x90

Debian: Minimum LibreOffice Packages to Convert docx Files to pdf in Headless Mode

0 votes
2 answers
2253 views
I'm developing a Docker container with a Debian 10 base image (this is a fixed dependency) that converts docx files to pdf using LibreOffice (soffice) in headless mode. I've got it working with the following packages installed: libreoffice default-jre-headless libreoffice-java-common However, when built, the Docker container size is over 1GB. Ideally, I'd like the container to be as small as possible. Is there a way I can find out what are the minimum package requirements to get soffice to run in headless mode and convert the docx files to pdfs?
Asked by John (101 rep)
Apr 29, 2022, 08:25 AM
Last activity: Jun 6, 2025, 11:14 AM