mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-05 12:57:52 +00:00
Switch forum building ENV to ARG
It makes no sense to have those variables at runtime.
This commit is contained in:
parent
1a42e2d338
commit
bbabd72d80
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user