This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch release-1.0
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 69f0e8b6f184e1bcc0c6d3a30753d7a9eec4a623
Author: Martijn Visser <[email protected]>
AuthorDate: Tue Jan 20 11:17:03 2026 +0100

    [hotfix] Use Ruby 2.3 Docker image to match Gemfile.lock
---
 docs/build_docs.sh     |  2 ++
 docs/docker/Dockerfile | 13 ++++++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/docs/build_docs.sh b/docs/build_docs.sh
index 2981c4a45fd..3869f1c2ac3 100755
--- a/docs/build_docs.sh
+++ b/docs/build_docs.sh
@@ -37,6 +37,8 @@ if [ "`command -v bundle`" == "" ]; then
 fi
 
 # Install Ruby dependencies locally
+# Fix jekyll-gist dependency metadata issue
+bundle update jekyll-gist
 bundle install --path .rubydeps
 
 DOCS_SRC=${DIR}
diff --git a/docs/docker/Dockerfile b/docs/docker/Dockerfile
index ad4bb307f7c..f215595b9d3 100644
--- a/docs/docker/Dockerfile
+++ b/docs/docker/Dockerfile
@@ -14,8 +14,15 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-FROM centos:centos7
+FROM ruby:2.3
 
-RUN yum install -y vim gem ruby-devel make gcc gcc-c++ python-setuptools && \
-    gem install bundler
+# Debian Stretch is EOL - switch to archive mirrors
+RUN sed -i 's/deb.debian.org/archive.debian.org/g' /etc/apt/sources.list && \
+    sed -i 's/security.debian.org/archive.debian.org/g' /etc/apt/sources.list 
&& \
+    sed -i '/stretch-updates/d' /etc/apt/sources.list
+
+RUN apt-get update && apt-get install -y --allow-unauthenticated \
+    build-essential \
+  && gem install bundler -v 1.17.3 \
+  && rm -rf /var/lib/apt/lists/*
 

Reply via email to