This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch release24.09
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/release24.09 by this push:
new c37104bd8d Fixed: Set template directory permissions in docker
container images (OFBIZ-13363) (#967)
c37104bd8d is described below
commit c37104bd8dc99841c22435b5aec6c9ffcb844eb8
Author: Daniel Watford <[email protected]>
AuthorDate: Tue Feb 24 21:25:17 2026 +0000
Fixed: Set template directory permissions in docker container images
(OFBIZ-13363) (#967)
It appears that a change in docker-build's handling of the COPY command
has resulted in some incorrect permissions being applied to the
templates directory in the ofbiz docker images. These permissions stop
the ofbiz-docker container from starting.
This commit explicitly sets permissions on the templates directory,
allowing the ofbiz-docker container to access the files it needs and
start up.
---
Dockerfile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Dockerfile b/Dockerfile
index 65687b8e33..9fc2585e5f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -93,6 +93,8 @@ RUN echo '${uiLabelMap.CommonJavaVersion}:' "$(java --version
| grep Runtime | s
COPY --chmod=555 docker/docker-entrypoint.sh docker/send_ofbiz_stop_signal.sh .
COPY --chmod=444 docker/disable-component.xslt .
+
+RUN mkdir templates
COPY --chmod=444 docker/templates templates
EXPOSE 8443