From 014c7bdaa8ea94367429596aaa65328835bbcd09 Mon Sep 17 00:00:00 2001 From: Michael Vorburger Date: Sat, 3 Mar 2018 18:17:12 +0100 Subject: [PATCH] Fix #113 broken build (jboss home directory is in /opt not /home) --- java/images/jboss/Dockerfile | 4 ++-- java/images/rhel/Dockerfile | 4 ++-- java/templates/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/java/images/jboss/Dockerfile b/java/images/jboss/Dockerfile index c904e8ef..1b744593 100644 --- a/java/images/jboss/Dockerfile +++ b/java/images/jboss/Dockerfile @@ -86,8 +86,8 @@ RUN chmod 755 /opt/run-java/run-env.sh RUN mkdir -p /deployments/data \ && chmod -R "g+rwX" /deployments \ && chown -R jboss:root /deployments \ - && chmod -R "g+rwX" /home/jboss \ - && chown -R jboss:root /home/jboss \ + && chmod -R "g+rwX" /opt/jboss \ + && chown -R jboss:root /opt/jboss \ && chmod 664 /etc/passwd # S2I requires a numeric, non-0 UID. This is the UID for the jboss user in the base image diff --git a/java/images/rhel/Dockerfile b/java/images/rhel/Dockerfile index d8ca2edb..91423e5a 100644 --- a/java/images/rhel/Dockerfile +++ b/java/images/rhel/Dockerfile @@ -83,8 +83,8 @@ RUN chmod 755 /opt/run-java/run-env.sh RUN mkdir -p /deployments/data \ && chmod -R "g+rwX" /deployments \ && chown -R jboss:root /deployments \ - && chmod -R "g+rwX" /home/jboss \ - && chown -R jboss:root /home/jboss \ + && chmod -R "g+rwX" /opt/jboss \ + && chown -R jboss:root /opt/jboss \ && chmod 664 /etc/passwd # S2I requires a numeric, non-0 UID. This is the UID for the jboss user in the base image diff --git a/java/templates/Dockerfile b/java/templates/Dockerfile index a0f4767f..46294fb8 100644 --- a/java/templates/Dockerfile +++ b/java/templates/Dockerfile @@ -78,8 +78,8 @@ RUN chmod 755 /opt/run-java/run-env.sh RUN mkdir -p /deployments/data \ && chmod -R "g+rwX" /deployments \ && chown -R jboss:root /deployments \ - && chmod -R "g+rwX" /home/jboss \ - && chown -R jboss:root /home/jboss \ + && chmod -R "g+rwX" /opt/jboss \ + && chown -R jboss:root /opt/jboss \ && chmod 664 /etc/passwd # S2I requires a numeric, non-0 UID. This is the UID for the jboss user in the base image