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 f018d48ff3 Fixed: Ensure correct permissions on files copied to docker container (OFBIZ-12785) f018d48ff3 is described below commit f018d48ff3056f618612dcfbb39fcc1e2deb8ca7 Author: Daniel Watford <dan...@watfordconsulting.com> AuthorDate: Tue Mar 28 00:12:28 2023 +0100 Fixed: Ensure correct permissions on files copied to docker container (OFBIZ-12785) --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1f830dbf4f..92cf2e0efc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -65,13 +65,12 @@ RUN --mount=type=bind,from=builder,source=/builder/build/distributions/ofbiz.tar RUN ["mkdir", "/ofbiz/runtime", "/ofbiz/config", "/ofbiz/lib-extra"] # Append the java runtime version to the OFBiz VERSION file. -COPY VERSION . +COPY --chmod=644 --chown=ofbiz:ofbiz VERSION . RUN echo '${uiLabelMap.CommonJavaVersion}:' "$(java --version | grep Runtime | sed 's/.*Runtime Environment //; s/ (build.*//;')" >> /ofbiz/VERSION -COPY --chmod=755 docker/docker-entrypoint.sh . -COPY docker/disable-component.xslt . -COPY --chmod=755 docker/send_ofbiz_stop_signal.sh . -COPY docker/templates templates +COPY --chmod=755 --chown=ofbiz:ofbiz docker/docker-entrypoint.sh docker/send_ofbiz_stop_signal.sh . +COPY --chmod=644 --chown=ofbiz:ofbiz docker/disable-component.xslt . +COPY --chmod=644 --chown=ofbiz:ofbiz docker/templates templates EXPOSE 8443 EXPOSE 8009