Skip to content

Commit

Permalink
Fix fabric8io-images#113 broken build (jboss home directory is in /op…
Browse files Browse the repository at this point in the history
…t not /home)
  • Loading branch information
vorburger committed Mar 4, 2018
1 parent 9ee67db commit 014c7bd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions java/images/jboss/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions java/images/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions java/templates/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 014c7bd

Please sign in to comment.