
ppizzo/libreofficeDocker image with LibreOffice.
This image can be used to convert documents from one format to another with the headless feature of OpenOffice.
You can use a pre-built Docker image from the following repository:
[***]
or build it by yourself with the following command:
bash$ docker build -t ppizzo/libreoffice .
The image working directory is /doc, therefore you could mount the directory containing your input files in the /doc directory inside the container and run libreoffice command with the required parameters.
For example, to convert a .docx file to a .pdf format, you could issue the following command:
bash$ docker run -ti -v $(pwd):/doc \ ppizzo/libreoffice \ libreoffice --headless --convert-to pdf \ FILE.docx $ docker run -ti -v $(pwd):/doc \ ppizzo/libreoffice \ chown `id -u`:`id -g` FILE.pdf
The second container in needed to change the outpuf file owner because libreoffice doesn't work with UIDs not listed in /etc/passwd.



manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务