Skip to content

Commit 8894191

Browse files
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.
1 parent b801837 commit 8894191

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

support/mesos-website/Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ USER root
1313
RUN apt-get update && \
1414
apt-get install -y --no-install-recommends \
1515
doxygen \
16-
locales \
17-
ruby \
18-
ruby-dev \
19-
rubygems && \
16+
locales && \
2017
apt-get clean && \
2118
rm -rf /var/lib/apt/lists/*
2219

23-
RUN gem install bundler
20+
# Install ruby version manager to get a more updated ruby version
21+
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import - && \
22+
curl -sSL https://rvm.io/pkuczynski.asc | gpg --import - && \
23+
curl -k -sSL https://get.rvm.io | bash -s stable --ruby=2.6.6
24+
25+
ENV PATH=/usr/local/rvm/rubies/ruby-2.6.6/bin:$PATH
2426

2527
RUN locale-gen en_US.UTF-8
2628
ENV LANG en_US.UTF-8

0 commit comments

Comments
 (0)