Public Repository

Last pushed: 9 months ago
Short Description
Java, JRuby, and Bundler
Full Description

FROM debian:jessie-backports

ENV JAVA_OPTS -Xmx2g
ENV JRUBY_VERSION 9.1.6.0

RUN apt-get update \
&& apt-get install -y --no-install-recommends curl git openjdk-8-jre-headless \
&& curl https://s3.amazonaws.com/jruby.org/downloads/${JRUBY_VERSION}/jruby-bin-${JRUBY_VERSION}.tar.gz | tar -zxC /opt \
&& rm -rf /var/lib/apt/lists/*

ENV PATH /opt/jruby-${JRUBY_VERSION}/bin:$PATH
RUN gem install bundler -v1.12.5

ENV WORKDIR /var/app/current
RUN mkdir -p $WORKDIR
WORKDIR $WORKDIR

EXPOSE 8080
CMD bundle exec rails server

ONBUILD COPY . .

Docker Pull Command
Owner
jungroup

Comments (0)