Open punktilious opened 1 year ago
This document states that the WLP_OUTPUT_DIR env variable can be used to set the output directory. It seems that the creation of the here-document
outside of the WLP_OUTPUT_DIR is breaking that contract.
This is blocking the ability to run liberty securely in a Kubernetes where setting readOnlyRootFilesystem: true
is a best practice.
This issue looks like it has a possible workaround: https://github.com/OpenLiberty/ci.docker/issues/363
The current documentation (https://hub.docker.com/_/open-liberty) suggests:
However, the server will now fail to start with this error:
Please update the documentation to note that /tmp also needs to be writeable and provide a new example command:
Extra search terms: Kubernetes k8s readOnlyRootFilesystem.