Skip to content

Commit 79bdde6

Browse files
committed
test: install maven dependencies for DB drivers
JIRA: GRIF-15
1 parent eb1994b commit 79bdde6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Dockerfile.jruby

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM jruby:9.4.1.0
22

33
MAINTAINER Tomas Korcak <korczis@gmail.com>
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
88
WORKDIR /src
@@ -15,6 +15,10 @@ RUN gem update --system \
1515

1616
ADD . .
1717

18+
RUN mvn install -f ci/mysql/pom.xml \
19+
&& mvn install -f ci/mssql/pom.xml \
20+
&& mvn install -f ci/postgresql/pom.xml
21+
1822
# Import GoodData certificate to Java. This is needed for connection to ADS.
1923
# https://jira.intgdc.com/browse/TMA-300
2024
RUN keytool -importcert -alias gooddata-2008 -file "./data/2008.crt" -keystore $JAVA_HOME/lib/security/cacerts -trustcacerts -storepass 'changeit' -noprompt

0 commit comments

Comments
 (0)