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

Switch forum building ENV to ARG

It makes no sense to have those variables at runtime.
This commit is contained in:
Régis Behmo 2020-03-13 18:43:33 +01:00
parent 1a42e2d338
commit bbabd72d80

View File

@ -19,9 +19,9 @@ WORKDIR /openedx/ruby-build
RUN PREFIX=/usr/local ./install.sh
# Install ruby and some specific dependencies
ENV RUBY_VERSION 2.4.1
ENV BUNDLER_VERSION 1.11.2
ENV RAKE_VERSION 10.4.2
ARG RUBY_VERSION=2.4.1
ARG BUNDLER_VERSION=1.11.2
ARG RAKE_VERSION=10.4.2
RUN ruby-build $RUBY_VERSION /openedx/ruby
ENV PATH "/openedx/ruby/bin:$PATH"
RUN gem install bundler -v $BUNDLER_VERSION