This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.6
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.6 by this push:
new 4d29a3a23f7 [hotfix] Use Ruby 2.3 Docker image to match Gemfile.lock
4d29a3a23f7 is described below
commit 4d29a3a23f726e50f5f06efc833c3c633fc60c51
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 aa08f4c21f1..398903c07a0 100755
--- a/docs/build_docs.sh
+++ b/docs/build_docs.sh
@@ -42,6 +42,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/*