Public Repository

Last pushed: 2 years ago
Short Description
java 8 + activator
Full Description

java 8 + activator

Dockerfile

FROM        ubuntu:14.04

MAINTAINER  Emmanuel Buah <emmanuelbuah@gmail.com>


ENV         ACTIVATOR_VERSION 1.3.7
ENV         DEBIAN_FRONTEND noninteractive

# INSTALL OS DEPENDENCIES
RUN         apt-get update; apt-get install -y software-properties-common unzip

# INSTALL JAVA 8
RUN         echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections && \
            echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections && \
            add-apt-repository -y ppa:webupd8team/java && \
            apt-get update && \
            apt-get install -y oracle-java8-installer

# INSTALL TYPESAFE ACTIVATOR
RUN         cd /tmp && \
            wget http://downloads.typesafe.com/typesafe-activator/$ACTIVATOR_VERSION/typesafe-activator-$ACTIVATOR_VERSION.zip && \
            unzip typesafe-activator-$ACTIVATOR_VERSION.zip -d /usr/local && \
            mv /usr/local/activator-dist-$ACTIVATOR_VERSION /usr/local/activator && \
            rm typesafe-activator-$ACTIVATOR_VERSION.zip

# INSTALL DOCKER (from tag v2 upwards)
RUN         apt-get update; apt-get -y install docker.io
            ln -sf /usr/bin/docker.io /usr/local/bin/docker
            sed -i '$acomplete -F _docker docker' /etc/bash_completion.d/docker.io
            update-rc.d docker.io defaults

Activator accessible at /usr/local/activator/activator e.g.

/usr/local/activator/activator clean
/usr/local/activator/activator test
/usr/local/activator/activator stage
/usr/local/activator/activator dist

Tags
emmanuelbuah/play-docker:lastest - java 8 + activator
emmanuelbuah/play-docker:v2 - java 8 + activator + docker

Docker Pull Command
Owner
emmanuelbuah