This is a dockerized LibreOffice packaged as a headess service with jre8 support.
This repository contains Dockerfile of Libreoffice for Docker's automated build.
-
Install Docker.
-
Download automated build from public Docker Hub Registry:
docker pull renothing/libreoffice
(alternatively, you can build an image from Dockerfile:
docker build -t="renothing/libreoffice:tag" http://github.com/renothing/docker-libreoffice
) additional fonts would be added by volume mounting, for example:
docker run -dit --name libreoffice -v yourfontsvolumepath:/usr/share/fonts/msfonts renothing/libreoffice
docker run -dit --name libreoffice -v yourfontsvolumepath:/usr/share/fonts/msfonts renothing/libreoffice
#run in headless service mode and listen on port 8001:
docker run -dit --name libreoffice --entrypoint /usr/bin/soffice renothing/libreoffice:alpine --headless --norestore --accept='socket,host=0,port=8001,tcpNoDelay=1;urp;'