This issue has been created
 
 
XWiki Docker images / cid:jira-generated-image-avatar-6f87ce12-8222-465e-973e-5fcc42582a69 XDOCKER-417 Open

Improve support for read only root filesystem (for configs)

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-544440cc-ca31-4e28-a954-119e408d4923 Guilherme Sautner created this issue on 24/Jul/26 15:22
 
Summary: Improve support for read only root filesystem (for configs)
Issue Type: cid:jira-generated-image-avatar-6f87ce12-8222-465e-973e-5fcc42582a69 Improvement
Assignee: Unassigned
Created: 24/Jul/26 15:22
Priority: cid:jira-generated-image-static-major-751e7f5c-d57a-4b05-a494-63ba9e819cb0 Major
Reporter: Guilherme Sautner
Description:

In docker-entrypoint there is some sed commands that are creating a temporary file in the folder that file exists. 

But in environments that enforce RO permission, the only available alternative is to mount the entire WEB-INF and create logic to copy files or mount a custom docker-entrypoint. 

The proposal is to create this temporary file inside the XWiki data directory, and change .first_start_completed file creation to not fail if this can't be created. 

For cases where a custom CONTEXT_PATH is used, I don't think there is a solution for RO environments. I will keep only the suggestion for using another alternative.