Skip to content

Commit

Permalink
Corrections to Dockerfile for Java path and property files
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan committed Aug 24, 2018
1 parent c3618fe commit add19d6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions grouper-to-midpoint-docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ RUN rpm --import http://repos.azulsystems.com/RPM-GPG-KEY-azulsystems \
&& curl -o /etc/yum.repos.d/zulu.repo http://repos.azulsystems.com/rhel/zulu.repo \
&& yum -y install zulu-8

#RUN sed -i s/'nodaemon=false'/'nodaemon=true'/ /etc/supervisord.conf
COPY target/groupermidpoint-0.1-SNAPSHOT-jar-with-dependencies.jar /root/
#CMD ["supervisord","-c","/etc/supervisord.conf"]
#/usr/java/latest/bin/java -cp rabbittrace-0.1-jar-with-dependencies.jar edu.unc.tier.rabbittrace.Trace '#'
CMD ["/usr/java/latest/bin/java","-cp","/root/groupermidpoint-0.1-SNAPSHOT-jar-with-dependencies.jar","edu.unc.tier.groupermidpoint.GrouperToMidpoint"]
COPY resources.properties /root/
COPY roles.properties /root/
COPY connection.properties /root/
WORKDIR /root/
CMD ["/usr/lib/jvm/zulu-8/bin/java","-cp",".:/root/:/root/groupermidpoint-0.1-SNAPSHOT-jar-with-dependencies.jar","edu.unc.tier.groupermidpoint.GrouperToMidpoint"]

0 comments on commit add19d6

Please sign in to comment.