Skip to content

Commit fe67616

Browse files
author
root
committed
Add play build
1 parent ac29730 commit fe67616

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ RUN echo "deb http://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list
44

55
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
66

7-
RUN apt-get update && apt-get install -y --no-install-recommends unzip bash openssh-client nodejs git ca-certificates fontconfig xvfb libpango1.0-0 libxss1 fonts-liberation libappindicator1 xdg-utils libgtk-3-0 lsb-release sbt && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/nodejs /usr/bin/node
7+
RUN apt-get update && apt-get install -y --no-install-recommends unzip bash openssh-client nodejs git ca-certificates fontconfig xvfb libpango1.0-0 libxss1 fonts-liberation libappindicator1 xdg-utils libgtk-3-0 lsb-release libnss3 sbt && rm -rf /var/lib/apt/lists/* && ln -s /usr/bin/nodejs /usr/bin/node
88

9-
RUN sbt sbtVersion
9+
COPY play/2.5.18 /tmp/play
10+
11+
RUN cd /tmp/play && sbt compile && rm -Rf /tmp/play
1012

1113
ENV PHANTOM_JS phantomjs-2.1.1-linux-x86_64
1214

@@ -21,7 +23,7 @@ RUN cd /opt \
2123
&& dpkg -i google-chrome-stable_current_amd64.deb
2224

2325
RUN cd /opt \
24-
&& wget https://chromedriver.storage.googleapis.com/2.34/chromedriver_linux64.zip \
26+
&& wget https://chromedriver.storage.googleapis.com/2.35/chromedriver_linux64.zip \
2527
&& unzip chromedriver_linux64.zip
2628

2729
VOLUME /src

play/2.5.18/build.sbt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2+
3+
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sbt.version=0.13.11

play/2.5.18/project/plugins.sbt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
// The Typesafe repository
2+
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
3+
4+
5+
// The Play plugin
6+
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.5.18")

0 commit comments

Comments
 (0)