Skip to content

Commit 550e7f4

Browse files
committed
Use jre instead of jdk
1 parent 3bf655a commit 550e7f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

1.7/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
FROM java:8
1+
FROM java:8-jre
22
ENV JRUBY_VERSION 1.7.18
33
RUN mkdir /opt/jruby \
4-
&& curl https://s3.amazonaws.com/jruby.org/downloads/1.7.18/jruby-bin-${JRUBY_VERSION}.tar.gz \
4+
&& curl -sSL https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \
55
| tar -zxC /opt/jruby --strip-components=1 \
66
&& update-alternatives --install /usr/local/bin/ruby ruby /opt/jruby/bin/jruby 1
77
ENV PATH /opt/jruby/bin:$PATH

0 commit comments

Comments
 (0)