File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM java:8-jdk
2+ ENV JRUBY_VERSION 1.7.18
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+ # docker-library/java#19
12+ RUN /var/lib/dpkg/info/ca-certificates-java.postinst configure
13+
14+ ENV GEM_HOME /usr/local/bundle
15+ ENV PATH $GEM_HOME/bin:$PATH
16+ RUN gem install bundler \
17+ && bundle config --global path "$GEM_HOME" \
18+ && bundle config --global bin "$GEM_HOME/bin"
19+
20+ # don't create ".bundle" in all our apps
21+ ENV BUNDLE_APP_CONFIG $GEM_HOME
22+
23+ CMD [ "irb" ]
File renamed without changes.
You can’t perform that action at this time.
0 commit comments