We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3bf655a commit 550e7f4Copy full SHA for 550e7f4
1 file changed
1.7/Dockerfile
@@ -1,7 +1,7 @@
1
-FROM java:8
+FROM java:8-jre
2
ENV JRUBY_VERSION 1.7.18
3
RUN mkdir /opt/jruby \
4
- && curl https://s3.amazonaws.com/jruby.org/downloads/1.7.18/jruby-bin-${JRUBY_VERSION}.tar.gz \
+ && 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
0 commit comments