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.
diff --git a/support/mesos-website/Dockerfile b/support/mesos-website/Dockerfile
index bcd62fe..617883e 100644
--- a/support/mesos-website/Dockerfile
+++ b/support/mesos-website/Dockerfile
@@ -13,14 +13,16 @@
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