File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM jruby:9.4.1.0
22
33MAINTAINER Tomas Korcak <
[email protected] >
44
5- RUN apt-get update && apt-get install -y curl make gcc git g++ python binutils-gold gnupg libstdc++6 cmake
5+ RUN apt-get update && apt-get install -y curl make gcc git g++ python binutils-gold gnupg libstdc++6 cmake maven
66
77# Switch to directory with sources
88WORKDIR /src
@@ -15,6 +15,18 @@ RUN gem update --system \
1515
1616ADD . .
1717
18+ # build postgresql dependencies
19+ RUN mvn -f ci/postgresql/pom.xml clean install -P binary-packaging \
20+ && cp -rf ci/postgresql/target/*.jar ./lib/gooddata/cloud_resources/postgresql/drivers/
21+
22+ # build mssql dependencies
23+ RUN mvn -f ci/mssql/pom.xml clean install -P binary-packaging \
24+ && cp -rf ci/mssql/target/*.jar ./lib/gooddata/cloud_resources/mssql/drivers/
25+
26+ # build mysql dependencies
27+ RUN mvn -f ci/mysql/pom.xml clean install -P binary-packaging \
28+ && cp -rf ci/mysql/target/*.jar ./lib/gooddata/cloud_resources/mysql/drivers/
29+
1830# Import GoodData certificate to Java. This is needed for connection to ADS.
1931# https://jira.intgdc.com/browse/TMA-300
2032RUN keytool -importcert -alias gooddata-2008 -file "./data/2008.crt" -keystore $JAVA_HOME/lib/security/cacerts -trustcacerts -storepass 'changeit' -noprompt
You can’t perform that action at this time.
0 commit comments