How to disable OLE objects

We’re using libreoffice as a pdf converter inside a docker container by utilising the headless functionality (debian strech-9.3 & libreoffice 5.4.5).
We’re looking into a way to disable OLE objects (for security reasons - as well as macros).
Thx a lot for your help !