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:
parent
bbabd72d80
commit
8df63a6165
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user