-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUGFIX: MSF-25904 Using C9S and java 8 for LCM Bricks
- Loading branch information
1 parent
2931de7
commit 5fa3414
Showing
3 changed files
with
36 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-11-jre-centos9:202310031054.5119496 | ||
FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-8-jre-centos9:202310201237.2c3bc86 | ||
|
||
ARG RVM_VERSION=stable | ||
ARG JRUBY_VERSION=9.4.1.0 | ||
|
||
LABEL image_name="GDC LCM Bricks" | ||
LABEL maintainer="LCM <[email protected]>" | ||
LABEL git_repository_url="https://github.com/gooddata/gooddata-ruby/" | ||
LABEL parent_image="020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-11-jre-centos9:202310031054.5119496" | ||
LABEL parent_image="020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-8-jre-centos9:202310201237.2c3bc86" | ||
|
||
# which is required by RVM | ||
RUN yum install -y which patch make git maven procps \ | ||
|
@@ -33,6 +33,10 @@ RUN rvm install jruby-${JRUBY_VERSION} && gem update --system \ | |
&& gem install bundler -v 2.4.6 \ | ||
&& gem install rake -v 13.0.6 | ||
|
||
RUN alternatives --install /usr/bin/java java /usr/lib/jvm/jre-1.8.0/bin/java 1 | ||
RUN update-alternatives --set java /usr/lib/jvm/jre-1.8.0/bin/java | ||
RUN export JAVA_HOME=/usr/lib/jvm/jre-1.8.0 | ||
|
||
WORKDIR /src | ||
|
||
RUN groupadd -g 48 apache \ | ||
|
@@ -51,29 +55,29 @@ ADD ./VERSION . | |
ADD ./Gemfile . | ||
ADD ./gooddata.gemspec . | ||
|
||
#build redshift dependencies | ||
RUN mvn -f ci/redshift/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/redshift/target/*.jar ./lib/gooddata/cloud_resources/redshift/drivers/ | ||
|
||
#build snowflake dependencies | ||
RUN mvn -f ci/snowflake/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/snowflake/target/*.jar ./lib/gooddata/cloud_resources/snowflake/drivers/ | ||
|
||
#build bigquery dependencies | ||
RUN mvn -f ci/bigquery/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/bigquery/target/*.jar ./lib/gooddata/cloud_resources/bigquery/drivers/ | ||
|
||
#build postgresql dependencies | ||
RUN mvn -f ci/postgresql/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/postgresql/target/*.jar ./lib/gooddata/cloud_resources/postgresql/drivers/ | ||
|
||
#build mssql dependencies | ||
RUN mvn -f ci/mssql/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/mssql/target/*.jar ./lib/gooddata/cloud_resources/mssql/drivers/ | ||
|
||
#build mysql dependencies | ||
RUN mvn -f ci/mysql/pom.xml clean install -P binary-packaging | ||
RUN cp -rf ci/mysql/target/*.jar ./lib/gooddata/cloud_resources/mysql/drivers/ | ||
##build redshift dependencies | ||
#RUN mvn -f ci/redshift/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/redshift/target/*.jar ./lib/gooddata/cloud_resources/redshift/drivers/ | ||
# | ||
##build snowflake dependencies | ||
#RUN mvn -f ci/snowflake/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/snowflake/target/*.jar ./lib/gooddata/cloud_resources/snowflake/drivers/ | ||
# | ||
##build bigquery dependencies | ||
#RUN mvn -f ci/bigquery/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/bigquery/target/*.jar ./lib/gooddata/cloud_resources/bigquery/drivers/ | ||
# | ||
##build postgresql dependencies | ||
#RUN mvn -f ci/postgresql/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/postgresql/target/*.jar ./lib/gooddata/cloud_resources/postgresql/drivers/ | ||
# | ||
##build mssql dependencies | ||
#RUN mvn -f ci/mssql/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/mssql/target/*.jar ./lib/gooddata/cloud_resources/mssql/drivers/ | ||
# | ||
##build mysql dependencies | ||
#RUN mvn -f ci/mysql/pom.xml clean install -P binary-packaging | ||
#RUN cp -rf ci/mysql/target/*.jar ./lib/gooddata/cloud_resources/mysql/drivers/ | ||
|
||
RUN bundle install | ||
|
||
|
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