Docker: Simple script with Java8, Jetty, Scala, Git

We'll run this from ubuntu trusty.

FROM ubuntu:trusty-20160711
# Install ubuntu instllation tools and the java 8 repo
RUN apt-get update && apt-get -y install software-properties-common && add-apt-repository -y ppa:webupd8team/java
# Auto accept the java 8 licence
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
# Install java8, git and wget
RUN apt-get update && apt-get -y install oracle-java8-installer git wget vim
# Download and install scala 2.11.8
RUN wget && dpkg -i scala-2.11.8.deb
# Download the jetty runner web server
RUN wget
# Ignore this if you don't want something run on every container start
ENTRYPOINT /bin/bash -c "ls /"

Edit on github
comments powered by Disqus
Click me