elwerene / libreoffice-convert

MIT License
241 stars 94 forks source link

Does anyone know to to install LibreOffice onto docker container? #91

Closed bryantpa closed 1 year ago

bryantpa commented 1 year ago

Running into ERROR Error: Could not find soffice binary because I don't have the libreoffice binary on my docker container in kubernetes. Does anyone know how I can get that binary into my k8s container?

thgh commented 1 year ago

Wondering the same here!

bryantpa commented 1 year ago

@thgh add this to your dockerfile RUN apt-get update && apt-get -y install libreoffice. This will install libreoffice as part of the image build process

thgh commented 1 year ago

Allright thanks, it works without much effort! I'm using node:18-alpine and this works like a charm:

RUN apk add --no-cache libreoffice
hilmanski commented 1 year ago

HI anyone know how to install the "headless" version if possible. I assume this install 'everything'?