Skip to content

Commit 0e25187

Browse files
committed
Update Ruby in Dockerfile and CircleCI
1 parent 0deb624 commit 0e25187

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
working_directory: /opt/app-root/src
3232
docker:
3333
# A Zync image tagged manually for CI tests
34-
- image: quay.io/3scale/zync:ci-builder-libyaml
34+
- image: quay.io/3scale/zync:ci-builder-ruby-3.3
3535
- image: << parameters.postgresql_image >>
3636
environment:
3737
RAILS_ENV: test
@@ -48,7 +48,6 @@ jobs:
4848
- run:
4949
name: bundle install
5050
command: |
51-
gem install bundler --version=$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tr -d ' '| tail -n 1) --no-document
5251
bundle config --local force_ruby_platform true
5352
bundle config set --local deployment 'true'
5453
bundle config set --local path 'vendor/bundle'

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
FROM registry.access.redhat.com/ubi9:9.6
22

33
ENV RUBY_MAJOR_VERSION=3 \
4-
RUBY_MINOR_VERSION=1 \
4+
RUBY_MINOR_VERSION=3 \
55
APP_ROOT=/opt/app-root/src
66
ENV RUBY_VERSION="${RUBY_MAJOR_VERSION}.${RUBY_MINOR_VERSION}"
77

88
USER root
99

1010
RUN dnf -y module enable ruby:${RUBY_VERSION} \
11-
&& dnf install --setopt=skip_missing_names_on_install=False,tsflags=nodocs -y shared-mime-info make automake gcc gcc-c++ postgresql git ruby-devel rubygem-irb rubygem-rdoc glibc-devel libpq-devel libyaml-devel \
11+
&& dnf install --setopt=skip_missing_names_on_install=False,tsflags=nodocs -y shared-mime-info make automake gcc gcc-c++ postgresql git ruby-devel rubygem-irb rubygem-rdoc glibc-devel libpq-devel libyaml-devel xz \
1212
&& dnf clean all \
1313
&& rm -rf /var/cache/yum
1414

0 commit comments

Comments
 (0)