Created
April 5, 2016 12:05
-
-
Save laughingman7743/a6597a709c19b2e036c903c5dfb24e9b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM anapsix/alpine-java:jre8 | |
ENV JRUBY_VERSION=9.0.5.0 \ | |
PATH=/opt/jruby/bin:$PATH | |
RUN apk upgrade --update \ | |
&& apk add --update curl \ | |
&& curl -L -o /tmp/jruby.tar.gz https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz \ | |
&& tar -C /opt -zxf /tmp/jruby.tar.gz \ | |
&& ln -s /opt/jruby-${JRUBY_VERSION} /opt/jruby \ | |
&& apk del curl \ | |
&& rm -rf /tmp/* \ | |
/opt/jruby/samples \ | |
&& gem install norikra --no-ri --no-rdoc | |
EXPOSE 26571 26578 | |
ENTRYPOINT ["norikra", "start"] | |
CMD [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment