Skip to content

Commit

Permalink
Fixing issue with grouper installers handling of messaging jar files;…
Browse files Browse the repository at this point in the history
… other minor changes
  • Loading branch information
John Gasper committed Nov 14, 2017
1 parent abd4e87 commit 50a2b34
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ RUN echo 'Installing Grouper'; \
cd /opt/grouper/$GROUPER_VERSION/ \
&& $JAVA_HOME/bin/java -cp :grouperInstaller.jar edu.internet2.middleware.grouperInstaller.GrouperInstaller

#The Grouper Installer is corrupting the Messaging Jar files.
RUN cp /opt/grouper/2.3.0/grouper.rabbitMq-2.3.0/lib/* /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/ \
&& cp /opt/grouper/2.3.0/grouper.activeMq-2.3.0/lib/* /opt/grouper/2.3.0/grouper.apiBinary-2.3.0/lib/grouper/


FROM centos:centos7 as cleanup
Expand All @@ -52,10 +55,10 @@ COPY --from=installing /opt/grouper/2.3.0/apache-tomee-webprofile-7.0.0/ /opt/to
COPY --from=installing /opt/grouper/2.3.0/grouper.clientBinary-2.3.0/ /opt/grouper/grouper.clientBinary/

RUN cd /opt/grouper/grouper.apiBinary/; \
rm -fr ddlScripts/ grouper.lck grouper.log grouper.script grouper.tmp// gshAddGrouperSystemWsGroup.gsh logs/
rm -fr ddlScripts/ grouper.lck grouper.log grouper.script grouper.tmp/ gshAddGrouperSystemWsGroup.gsh logs/

RUN cd /opt/tomcat/webapps/; \
rm -fr docs/ examples/ host-manager/ manager/
rm -fr docs/ examples/ host-manager/ manager/ logs/*

RUN cd /opt/tomee/webapps/; \
rm -fr docs/ host-manager/ manager/
Expand Down

0 comments on commit 50a2b34

Please sign in to comment.