This is an automated email from the ASF dual-hosted git repository.
cfnatali pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
The following commit(s) were added to refs/heads/master by this push:
new 889419133 Updated website's docker image Ruby version.
889419133 is described below
commit 8894191338e5e7e9a0cfb7abed6b29110eba9a31
Author: Andreas Peters <[email protected]>
AuthorDate: Sun Aug 7 12:26:27 2022 +0200
Updated website's docker image Ruby version.
To fix incompatibility with updated dependencies.
We will separately look into updating to a more recent Ubuntu base image.
---
support/mesos-website/Dockerfile | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/support/mesos-website/Dockerfile b/support/mesos-website/Dockerfile
index bcd62fe4c..617883e0c 100644
--- a/support/mesos-website/Dockerfile
+++ b/support/mesos-website/Dockerfile
@@ -13,14 +13,16 @@ USER root
RUN apt-get update && \
apt-get install -y --no-install-recommends \
doxygen \
- locales \
- ruby \
- ruby-dev \
- rubygems && \
+ locales && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
-RUN gem install bundler
+# Install ruby version manager to get a more updated ruby version
+RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \
+ curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
+ curl -k -sSL https://get.rvm.io | bash -s stable --ruby=2.6.6
+
+ENV PATH=/usr/local/rvm/rubies/ruby-2.6.6/bin:$PATH
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8