6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-11-10 15:20:56 +00:00

Pin ruby-build version in forum image

This is to avoid another case where the forum image sudddenly starts
failing.
This commit is contained in:
Régis Behmo 2020-03-13 18:44:49 +01:00
parent bbabd72d80
commit 8df63a6165

View File

@ -14,7 +14,9 @@ RUN wget -O /tmp/dockerize.tar.gz https://github.com/jwilder/dockerize/releases/
&& rm /tmp/dockerize.tar.gz
# Install ruby-build for building specific version of ruby
RUN git clone https://github.com/rbenv/ruby-build.git /openedx/ruby-build
# The ruby-build version should be periodically updated to reflect the latest release
ARG RUBY_BUILD_VERSION=v20200224
RUN git clone https://github.com/rbenv/ruby-build.git --branch $RUBY_BUILD_VERSION /openedx/ruby-build
WORKDIR /openedx/ruby-build
RUN PREFIX=/usr/local ./install.sh