From f95ab78ba34aba28c4b17c2f20ef2fd7d8246b67 Mon Sep 17 00:00:00 2001 From: Nguyen Kim Viet <> Date: Tue, 27 Jun 2023 13:51:07 +0700 Subject: [PATCH] MSF-25372: Upgrade lcm-bricks image to C9S --- .github/workflows/pre-merge.yml | 2 ++ Dockerfile | 6 +++--- gooddata.gemspec | 1 + 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-merge.yml b/.github/workflows/pre-merge.yml index 5b43a859f..f56e74de8 100644 --- a/.github/workflows/pre-merge.yml +++ b/.github/workflows/pre-merge.yml @@ -11,6 +11,8 @@ jobs: matrix: ruby-version: [2.3, 2.4, 2.5, 2.6, 2.7.6, 3.2.1, jruby-9.1.17, jruby-9.4.1] steps: + - name: run prepare-env + run: sudo apt update && sudo apt install ruby-dev=1.2.1 - uses: actions/checkout@v3 with: fetch-depth: 0 diff --git a/Dockerfile b/Dockerfile index a468a776a..acf5d76a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-8-jre-centos8:202308081603.4a43db3 +FROM 020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-11-jre-centos9:202309111310.cdb8b79 ARG RVM_VERSION=stable ARG JRUBY_VERSION=9.4.1.0 @@ -6,10 +6,10 @@ ARG JRUBY_VERSION=9.4.1.0 LABEL image_name="GDC LCM Bricks" LABEL maintainer="LCM " LABEL git_repository_url="https://github.com/gooddata/gooddata-ruby/" -LABEL parent_image="020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-8-jre-centos8:202308081603.4a43db3" +LABEL parent_image="020413372491.dkr.ecr.us-east-1.amazonaws.com/tools/gdc-java-11-jre-centos9:202309111310.cdb8b79" # which is required by RVM -RUN yum install -y curl which patch make git maven procps \ +RUN yum install -y which patch make git maven procps build-essential ruby-dev \ && yum clean all \ && rm -rf /var/cache/yum diff --git a/gooddata.gemspec b/gooddata.gemspec index 812f7913a..3136a070b 100644 --- a/gooddata.gemspec +++ b/gooddata.gemspec @@ -81,4 +81,5 @@ Gem::Specification.new do |s| s.add_dependency 'thread_safe' s.add_dependency 'backports' s.add_dependency 'tty-spinner' + # s.add_dependency 'bigdecimal', '~> 1.4', '>= 1.4.4' end