@@ -20,8 +20,9 @@ ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
2020COPY Gemfile* /fluentd/
2121COPY tcpconnect.* /fluentd/
2222
23- # Install ruby, ruby-libs along with rubygems and bundler.
24- RUN microdnf -y module enable ruby:3.3 \
23+ # Apply current Oracle Linux security errata before layering runtime dependencies.
24+ RUN microdnf -y update --setopt=install_weak_deps=0 --nodocs \
25+ && microdnf -y module enable ruby:3.3 \
2526# Install ruby and ruby-libs, disabling week dependencies
2627 && microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
2728# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
@@ -63,8 +64,9 @@ ENV GEM_HOME /fluentd/vendor/bundle/ruby/3.3
6364# skip runtime bundler installation
6465ENV FLUENTD_DISABLE_BUNDLER_INJECTION 1
6566
66- # Install ruby, ruby-libs along with rubygems and bundler.
67- RUN microdnf -y module enable ruby:3.3 \
67+ # Apply current Oracle Linux security errata before installing runtime packages.
68+ RUN microdnf -y update --setopt=install_weak_deps=0 --nodocs \
69+ && microdnf -y module enable ruby:3.3 \
6870# Install ruby and ruby-libs, disabling week dependencies
6971 && microdnf -y install --setopt=install_weak_deps=0 --nodocs ruby ruby-libs \
7072# Install rubygems (it's dependencies rubygem-openssl rubygem-psych), disabling week dependencies
0 commit comments