From 8415c9c0e868f50222a0acc7e8c3c5ca9f8a24d9 Mon Sep 17 00:00:00 2001 From: Flook Peter Date: Fri, 16 Aug 2024 17:16:30 +0800 Subject: [PATCH] Try update gem before installing --- Dockerfile.gcs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile.gcs b/Dockerfile.gcs index 4726202..83286b7 100644 --- a/Dockerfile.gcs +++ b/Dockerfile.gcs @@ -2,5 +2,6 @@ ARG FLUENTD_VERSION=v1.17.0-debian-1.0 FROM fluent/fluentd:${FLUENTD_VERSION} USER root ARG PLUGIN_GCS_VERSION=0.13.1 -RUN gem install fluent-plugin-google-cloud --no-document -v $PLUGIN_GCS_VERSION +RUN gem update --system && + gem install fluent-plugin-google-cloud --no-document -v $PLUGIN_GCS_VERSION USER fluent