We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da39f6b commit 9d4071aCopy full SHA for 9d4071a
1.7/Dockerfile
@@ -2,7 +2,8 @@ FROM java:8
2
ENV JRUBY_VERSION 1.7.15
3
RUN mkdir /opt/jruby \
4
&& curl http://jruby.org.s3.amazonaws.com/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
5
- | tar -zxC /opt/jruby --strip-components=1
+ | 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
0 commit comments