gebi / ooopy

OOoPy is a library in Python for inspecting, creating or modifying OpenOffice.org documents. It uses the existing ElementTree XML library by for manipulation of the OOo XML.
6 stars 1 forks source link

Dockerized ooo_mailmerge: eliminate /tmp for files #4

Open WeeSee opened 6 years ago

WeeSee commented 6 years ago

getting rid of /tmp for files

With WORKDIR in Dockerfile the /tmp directory should be obsolete

gebi commented 6 years ago

You mean the /tmp used to transport files into the docker container?

Maybe we should establish a common file transport mechanism for all ooopy tools, what do you think about /tmp/in and /tmp/out both mapped into the container, but the input directory only mapped as read-only, to keep it clean.

This way we could establish a generic docker wrapper to call all ooopy tools which is universal and could also be tested properly :).

WeeSee commented 6 years ago

ok, good idea.

may there could be specified an error output stream as well to capture error messages separately from the output file.