Last active
June 18, 2016 04:13
-
-
Save dmouse/11351410 to your computer and use it in GitHub Desktop.
This is a Dockerfile for build a image with scala and play framework
This file contains 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
# Docker image with scala and play framework | |
FROM centos | |
MAINTAINER David Flores "[email protected]" | |
RUN yum update -y | |
RUN yum install java-1.7.0-openjdk.x86_64 -y | |
RUN /bin/rpm -ivh http://downloads.typesafe.com/scala/2.11.0/scala-2.11.0.rpm | |
RUN yum install wget unzip -y >/dev/null | |
RUN cd /opt && wget http://downloads.typesafe.com/play/2.2.3/play-2.2.3.zip && unzip play-2.2.3.zip | |
RUN ln -s /opt/play-2.2.3/play /usr/local/bin/ | |
# clone this file in your /path/to/Dockerfile | |
# cd /path/to/Dockerfile | |
# docker build -t scala . | |
# docker run -i -t scala /bin/bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment