Last active
March 16, 2018 08:36
-
-
Save clemos/5a75a8fb351119d04f5c to your computer and use it in GitHub Desktop.
Dockerfile for Scala play
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
FROM ubuntu:latest | |
MAINTAINER Ingensi labs <contact@ingensi.com> | |
RUN apt-get update | |
RUN apt-get -y upgrade | |
RUN DEBIAN_FRONTEND=noninteractive apt-get -y install mysql-server curl software-properties-common unzip | |
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 | |
RUN DEBIAN_FRONTEND=noninteractive apt-add-repository -y ppa:webupd8team/java | |
RUN apt-get update | |
RUN DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes install oracle-java7-installer | |
RUN curl -O http://downloads.typesafe.com/typesafe-activator/1.2.10/typesafe-activator-1.2.10.zip | |
RUN unzip typesafe-activator-1.2.10.zip -d / && rm typesafe-activator-1.2.10.zip && chmod a+x /activator-1.2.10/activator | |
ENV PATH $PATH:/activator-1.2.10 | |
EXPOSE 9000 | |
RUN mkdir /app | |
WORKDIR /app | |
CMD ["activator", "run"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment