Behaves differently in Docker container
When I use openpyxl in a Docker container, the output file is no longer readable by Excel, nor Zip. Zip complains that 20 extraneous bytes were added to it somewhere. openpyxl does not generate an error message after it writes a corrupt file. Running the same code in the host environment (no Docker) results in a valid workbook and zipfile.
I tried installing the zip package in my container in case openpyxl depends on some binary libs, but that made no difference in the result.
Developing a test case to debug this with is out of scope of my current assignment with a deadline, so I'm just checking if anyone else has encountered this problem when using openpyxl inside a Docker container and been able to address it.