docker/Dockerfile in fluent-plugin-k8s-metrics-agg-1.1.9 vs docker/Dockerfile in fluent-plugin-k8s-metrics-agg-1.1.10
- old
+ new
@@ -29,15 +29,19 @@
RUN mkdir /licenses
COPY --from=builder /app/LICENSE /licenses/LICENSE
COPY --from=builder /app/docker/Gemfile* ./
-
+RUN gem update date cgi
+RUN rm -f /usr/share/gems/specifications/default/cgi-0.1.0.gemspec /usr/share/gems/specifications/default/date-3.0.0.gemspec
RUN yum update -y \
&& yum remove -y nodejs npm \
&& gem install bundler \
+ && gem uninstall -i /usr/share/gems bundler \
&& gem unpack /tmp/*.gem --target gem \
&& bundle install \
+ && bundle update i18n \
+ && gem uninstall -i /usr/share/gems i18n --version 1.8.11 \
&& rpm -e --nodeps python3-pip-wheel python3-urllib3-* python3-requests-* python3-libxml2-* python3-dmidecode-* subscription-manager-* libwebp-* libwebp-devel-* glib2-* libjpeg-turbo-devel-* libjpeg-turbo-* mariadb-connector-c-config-* mariadb-connector-c-* mariadb-connector-c-devel-* rsync-* sqlite-libs-* sqlite-devel-* sqlite-* libxml2-* libxml2-devel-* libX11-* libX11-common-* libX11-devel-* libX11-xcb-* nettle-* libsolv-* file-libs-* dbus-daemon-* tar-* qt5-srpm-macros-* perl-parent-* git-* bsdtar-* openssh-clients-* json-c-* binutils-* libtiff-devel-* libtiff-* || true
RUN groupadd -r $FLUENT_USER && \
useradd -r -g $FLUENT_USER $FLUENT_USER && \
mkdir -p /fluentd/log /fluentd/etc /fluentd/plugins &&\