FROM ubuntu:14.04 MAINTAINER Phunv([email protected]) ENV JAVA_HOME /usr/lib/jvm/java-8-oracle ENV SCALA_VERSION 2.11.7 ENV SBT_VERSION 0.13.8
EXPOSE 9090
RUN
apt-get update &&
apt-get install -y nodejs npm ruby curl git unzip
RUN npm install -g typescript RUN gem install sass RUN ln -s /usr/bin/nodejs /usr/bin/node RUN curl -kL https://bootstrap.pypa.io/get-pip.py | python RUN pip install --user codecov RUN echo 'export PATH=$PATH:~/.local/bin/' >> /root/.bashrc
RUN
apt-get install -y language-pack-ja &&
export LANG=ja_JP.UTF-8 &&
update-locale LANG=ja_JP.UTF-8
RUN
echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | debconf-set-selections &&
apt-get install -y software-properties-common &&
add-apt-repository -y ppa:webupd8team/java &&
apt-get update &&
apt-get install -y oracle-java8-installer
RUN
cd /root &&
curl -o scala-$SCALA_VERSION.tgz http://downloads.typesafe.com/scala/$SCALA_VERSION/scala-$SCALA_VERSION.tgz &&
tar -xf scala-$SCALA_VERSION.tgz &&
rm scala-$SCALA_VERSION.tgz &&
echo >> /root/.bashrc &&
echo 'export PATH=~/scala-$SCALA_VERSION/bin:$PATH' >> /root/.bashrc
RUN
curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb &&
dpkg -i sbt-$SBT_VERSION.deb &&
rm sbt-$SBT_VERSION.deb &&
apt-get update &&
apt-get install sbt
RUN apt-get install -y supervisor
Content type
Image
Digest
Size
700.4 MB
Last updated
almost 10 years ago
docker pull phunv/play_scala