You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2026/02/19 15:59:11 UTC
(flink) 04/04: [hotfix] Use Ruby 2.3 Docker image to match Gemfile.lock
This is an automated email from the ASF dual-hosted git repository.
martijnvisser pushed a commit to branch release-1.3
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 3e608bd075901ffdcbdae2d04521abfb004b706c
Author: Martijn Visser <29...@users.noreply.github.com>
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 cbdd1d42cd5..15c714d12a8 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/*