-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from lime-company/develop
Prepare release 2018.03
- Loading branch information
Showing
7 changed files
with
129 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,19 @@ | ||
FROM tomcat:8.5 | ||
LABEL maintainer "[email protected]" | ||
|
||
# Prepare environment variables | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ENV TOMCAT_HOME /usr/local/tomcat | ||
|
||
# Clear root context | ||
RUN rm -rf /usr/local/tomcat/webapps/* | ||
RUN rm -rf $TOMCAT_HOME/webapps/* | ||
|
||
# Copy libraries | ||
ADD deploy/lib/mysql-connector-java.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/ojdbc6.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/mysql-connector-java.jar $TOMCAT_HOME/lib/ | ||
ADD deploy/lib/ojdbc6.jar $TOMCAT_HOME/lib/ | ||
|
||
# Deploy and run applications | ||
ADD deploy/conf/powerauth-nextstep.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-nextstep.war /usr/local/tomcat/webapps/ | ||
ADD deploy/conf/powerauth-nextstep.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-nextstep.war $TOMCAT_HOME/webapps/ | ||
|
||
CMD ["catalina.sh", "run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
FROM tomcat:8.5 | ||
LABEL maintainer "[email protected]" | ||
|
||
# Prepare environment variables | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ENV TOMCAT_HOME /usr/local/tomcat | ||
|
||
# Clear root context | ||
RUN rm -rf /usr/local/tomcat/webapps/* | ||
RUN rm -rf $TOMCAT_HOME/webapps/* | ||
|
||
# Copy libraries | ||
ADD deploy/lib/mysql-connector-java.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/ojdbc6.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/mysql-connector-java.jar $TOMCAT_HOME/lib/ | ||
ADD deploy/lib/ojdbc6.jar $TOMCAT_HOME/lib/ | ||
|
||
# Add Bouncy Castle to JRE | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ADD deploy/lib/bcprov-jdk15on-158.jar $JAVA_HOME/lib/ext | ||
RUN echo 'security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider' >> $JAVA_HOME/lib/security/java.security | ||
|
||
# Deploy and run applications | ||
ADD deploy/conf/powerauth-push-server.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-push-server.war /usr/local/tomcat/webapps/ | ||
ADD deploy/conf/powerauth-push-server.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-push-server.war $TOMCAT_HOME/webapps/ | ||
|
||
CMD ["catalina.sh", "run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,28 @@ | ||
FROM tomcat:8.5 | ||
LABEL maintainer "[email protected]" | ||
|
||
# Prepare environment variables | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ENV TOMCAT_HOME /usr/local/tomcat | ||
|
||
# Clear root context | ||
RUN rm -rf /usr/local/tomcat/webapps/* | ||
RUN rm -rf $TOMCAT_HOME/webapps/* | ||
|
||
# Copy libraries | ||
ADD deploy/lib/mysql-connector-java.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/ojdbc6.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/mysql-connector-java.jar $TOMCAT_HOME/lib/ | ||
ADD deploy/lib/ojdbc6.jar $TOMCAT_HOME/lib/ | ||
|
||
# Add Bouncy Castle to JRE | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ADD deploy/lib/bcprov-jdk15on-158.jar $JAVA_HOME/lib/ext | ||
RUN echo 'security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider' >> $JAVA_HOME/lib/security/java.security | ||
|
||
# Deploy and run applications | ||
ADD deploy/conf/powerauth-java-server.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-java-server.war /usr/local/tomcat/webapps/ | ||
ADD deploy/conf/powerauth-java-server.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-java-server.war $TOMCAT_HOME/webapps/ | ||
|
||
ADD deploy/data/ldap/ldap-local.ldif /usr/local/tomcat/conf/ldap/ | ||
ADD deploy/conf/powerauth-admin.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-admin.war /usr/local/tomcat/webapps/ | ||
ADD deploy/data/ldap/ldap-local.ldif $TOMCAT_HOME/conf/ldap/ | ||
ADD deploy/conf/powerauth-admin.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-admin.war $TOMCAT_HOME/webapps/ | ||
|
||
CMD ["catalina.sh", "run"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
FROM tomcat:8.5 | ||
LABEL maintainer "[email protected]" | ||
|
||
# Prepare environment variables | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ENV TOMCAT_HOME /usr/local/tomcat | ||
|
||
# Clear root context | ||
RUN rm -rf /usr/local/tomcat/webapps/* | ||
RUN rm -rf $TOMCAT_HOME/webapps/* | ||
|
||
# Copy libraries | ||
ADD deploy/lib/mysql-connector-java.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/ojdbc6.jar /usr/local/tomcat/lib/ | ||
ADD deploy/lib/mysql-connector-java.jar $TOMCAT_HOME/lib/ | ||
ADD deploy/lib/ojdbc6.jar $TOMCAT_HOME/lib/ | ||
|
||
# Add Bouncy Castle to JRE | ||
ENV JAVA_HOME /usr/lib/jvm/java-1.8.0-openjdk-amd64/jre | ||
ADD deploy/lib/bcprov-jdk15on-158.jar $JAVA_HOME/lib/ext | ||
RUN echo 'security.provider.10=org.bouncycastle.jce.provider.BouncyCastleProvider' >> $JAVA_HOME/lib/security/java.security | ||
|
||
# Add valve for proxy with SSL termination | ||
RUN sed -i 's/<\/Host>/<Valve className="org.apache.catalina.valves.RemoteIpValve" remoteIpHeader="X-Forwarded-For" protocolHeader="X-Forwarded-Proto"\/><\/Host>/' $TOMCAT_HOME/conf/server.xml | ||
|
||
# Deploy and run applications | ||
ADD deploy/conf/powerauth-webflow.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-webflow.war /usr/local/tomcat/webapps/ | ||
ADD deploy/conf/powerauth-webflow.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-webflow.war $TOMCAT_HOME/webapps/ | ||
|
||
ADD deploy/conf/powerauth-data-adapter.xml /usr/local/tomcat/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-data-adapter.war /usr/local/tomcat/webapps/ | ||
ADD deploy/conf/powerauth-data-adapter.xml $TOMCAT_HOME/conf/Catalina/localhost/ | ||
ADD deploy/images/powerauth-data-adapter.war $TOMCAT_HOME/webapps/ | ||
|
||
CMD ["catalina.sh", "run"] |