File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ FROM java:8-jdk
2+ ENV JRUBY_VERSION 9.0.0.0.pre1
3+ RUN mkdir /opt/jruby \
4+ && curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
5+ | tar -zxC /opt/jruby --strip-components=1 \
6+ && update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
7+ ENV PATH /opt/jruby/bin:$PATH
8+
9+ RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
10+
11+ ENV GEM_HOME /usr/local/bundle
12+ ENV PATH $GEM_HOME/bin:$PATH
13+ RUN gem install bundler \
14+ && bundle config --global path "$GEM_HOME" \
15+ && bundle config --global bin "$GEM_HOME/bin"
16+
17+ # don't create ".bundle" in all our apps
18+ ENV BUNDLE_APP_CONFIG $GEM_HOME
19+
20+ CMD [ "irb" ]
Original file line number Diff line number Diff line change 1+ FROM java:8-jre
2+ ENV JRUBY_VERSION 9.0.0.0.pre1
3+ RUN mkdir /opt/jruby \
4+ && curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
5+ | tar -zxC /opt/jruby --strip-components=1 \
6+ && update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
7+ ENV PATH /opt/jruby/bin:$PATH
8+
9+ RUN echo 'gem: --no-rdoc --no-ri' >> /.gemrc
10+
11+ ENV GEM_HOME /usr/local/bundle
12+ ENV PATH $GEM_HOME/bin:$PATH
13+ RUN gem install bundler \
14+ && bundle config --global path "$GEM_HOME" \
15+ && bundle config --global bin "$GEM_HOME/bin"
16+
17+ # don't create ".bundle" in all our apps
18+ ENV BUNDLE_APP_CONFIG $GEM_HOME
19+
20+ CMD [ "irb" ]
Original file line number Diff line number Diff line change 1+ FROM jruby:9.0.0.0.pre1
2+
3+ RUN mkdir -p /usr/src/app
4+ WORKDIR /usr/src/app
5+
6+ ONBUILD ADD Gemfile /usr/src/app/
7+ ONBUILD ADD Gemfile.lock /usr/src/app/
8+ ONBUILD RUN bundle install --system
9+
10+ ONBUILD ADD . /usr/src/app
You can’t perform that action at this time.
0 commit comments