shelfio / libreoffice-lambda-base-image

MIT License
30 stars 18 forks source link

soffice: command not found #19

Open YanRah opened 1 year ago

YanRah commented 1 year ago

when we exec soffice we are getting command not found.

can you make that soffice and libreoffice7.4 command will work and point to same version ?

d3netxer commented 1 year ago

soffice is located in this directory: /opt/libreoffice7.4/program

so you should be able to run it like this:

RUN /opt/libreoffice7.4/program/soffice --headless --invisible --nodefault --view --nolockcheck --nologo --norestore --convert-to pdf --outdir /tmp demo.docx