Skip to content

Commit

Permalink
Pointer properties in place
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Van Fleet committed Nov 8, 2016
1 parent ccae021 commit cf1e7c4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@ RUN mkdir -p /opt/grouper/$VERSION \
dos2unix \
MariaDB-client \
mlocate \
&& yum clean all

RUN /opt/autoexec/bin/onbuild.sh
&& yum clean all \
&& /opt/autoexec/bin/onbuild.sh \
&& rm /opt/grouper/$version/grouper.ws-$version/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.properties && \
cp /opt/etc/grouper.hibernate.pointer.properties /opt/grouper/$version/grouper.ws-$version/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/grouper.hibernate.properties && \
rm /opt/grouper/$version/grouper.ui-$version/dist/grouper/WEB-INF/classes/grouper.hibernate.properties && \
cp /opt/etc/grouper.hibernate.pointer.properties /opt/grouper/$version/grouper.ui-$version/dist/grouper/WEB-INF/classes/grouper.hibernate.properties

# The installer creates a HSQL DB which we ignore later

Expand Down
8 changes: 8 additions & 0 deletions container_files/etc/grouper.hibernate.pointer.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
########################################
## Config chaining hierarchy
########################################

# comma separated config files that override each other (files on the right override the left)
# each should start with file: or classpath:
# e.g. classpath:grouper.hibernate.base.properties, file:c:/temp/myFile.properties
grouper.hibernate.config.hierarchy = classpath:grouper.hibernate.base.properties, classpath:grouper.hibernate.properties, file:/opt/etc/grouper.hibernate.properties

0 comments on commit cf1e7c4

Please sign in to comment.