This is an automated email from the ASF dual-hosted git repository.
danwatford pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8cf3447e2d Fixed: Set template directory permissions in docker
container images (OFBIZ-13363) (#967)
8cf3447e2d is described below
commit 8cf3447e2d02cbaf218edd9b9a586a4e33b4026a
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 a3eb298435..7b36d42507 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