@@ -11,21 +11,21 @@ USER root
1111WORKDIR /fluentd
1212
1313# Environment variables
14- ENV PATH /fluentd/vendor/bundle/ruby/3.1.0 /bin:$PATH
15- ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.1.0 :$GEM_PATH
16- ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.1.0
14+ ENV PATH /fluentd/vendor/bundle/ruby/3.3 /bin:$PATH
15+ ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.3 :$GEM_PATH
16+ ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.3
1717# skip runtime bundler installation
1818ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
1919
2020COPY Gemfile* /fluentd/
2121
2222# Install ruby, ruby-libs along with rubygems and bundler.
23- RUN microdnf -y module enable ruby:3.1 \
23+ RUN microdnf -y module enable ruby:3.3 \
2424# Install ruby and ruby-libs, disabling week dependencies
2525 && microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
2626# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
2727 && microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
28- && gem install bundler -v 2.3.25 \
28+ && gem install bundler -v 2.5.16 \
2929# Install development dependent packages for gems native installation
3030 && microdnf --enablerepo ol8_codeready_builder -y install --nodocs gcc make redhat-rpm-config openssl ruby-devel gcc-c++ libtool libffi-devel bzip2 git libyaml-devel \
3131# Install Fluentd, it's dependencies along with other run time dependencies for OCI Logging Analytics Solution
@@ -50,19 +50,19 @@ USER root
5050WORKDIR /fluentd
5151
5252# Environment variables
53- ENV PATH /fluentd/vendor/bundle/ruby/3.1.0 /bin:$PATH
54- ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.1.0 :$GEM_PATH
55- ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.1.0
53+ ENV PATH /fluentd/vendor/bundle/ruby/3.3 /bin:$PATH
54+ ENV GEM_PATH /fluentd/vendor/bundle/ruby/3.3 :$GEM_PATH
55+ ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.3
5656# skip runtime bundler installation
5757ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
5858
5959# Install ruby, ruby-libs along with rubygems and bundler.
60- RUN microdnf -y module enable ruby:3.1 \
60+ RUN microdnf -y module enable ruby:3.3 \
6161# Install ruby and ruby-libs, disabling week dependencies
6262 && microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
6363# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
6464 && microdnf -y install --setopt=install_weak_deps=0 --nodocs rubygems \
65- && gem install bundler -v 2.3.25 \
65+ && gem install bundler -v 2.5.16 \
6666 && bundle config --local path /fluentd/vendor/bundle \
6767# clear caches
6868 && microdnf clean all \
0 commit comments