|
@@ -35,12 +35,12 @@ ENV PATH=${M2_HOME}/bin:${PATH}
|
|
|
ENV JAVA_HOME=/usr/lib/jvm/java-8-oracle
|
|
|
ENV JRE_HOME=/usr/lib/jvm/java-8-oracle/jre
|
|
|
ADD ca.crt ./
|
|
|
-
|
|
|
+COPY ./additional_jars ./additional_jars
|
|
|
COPY tomcat-users.xml ${CATALINA_HOME}/conf/tomcat-users.xml
|
|
|
COPY context.xml ${CATALINA_HOME}/webapps/manager/META-INF/context.xml
|
|
|
RUN keytool -import -trustcacerts -keystore $JAVA_HOME/jre/lib/security/cacerts -storepass changeit -noprompt -alias maven2.ca -file ca.crt
|
|
|
RUN keytool -import -trustcacerts -keystore $JAVA_HOME/jre/lib/security/jssecacerts -storepass changeit -noprompt -alias maven2.ca -file ca.crt
|
|
|
-
|
|
|
+RUN mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.2.0.1.0 -Dpackaging=jar -Dfile=./additional_jars/ojdbc7.jar
|
|
|
COPY sonar-runner.properties ./sonar-scanner-3.2.0.1227-linux/conf/sonar-scanner.properties
|
|
|
EXPOSE 84
|
|
|
EXPOSE 8080
|