-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef7d028
commit 601d3d4
Showing
6 changed files
with
14 additions
and
18 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,16 @@ | ||
FROM openjdk:8u141 | ||
MAINTAINER Mario Siegenthaler <[email protected]> | ||
FROM openjdk:8u151 | ||
LABEL maintainer="[email protected]" | ||
|
||
ENV SBT_VERSION 0.13.16 | ||
ENV SBT_VERSION 1.1.0 | ||
|
||
COPY enable-letsencrypt.sh /usr/local/enable-letsencrypt.sh | ||
RUN /usr/local/enable-letsencrypt.sh $JAVA_HOME | ||
|
||
RUN curl -sL "https://cocl.us/sbt-${SBT_VERSION}.tgz" | \ | ||
RUN curl -sL https://github.com/sbt/sbt/releases/download/v${SBT_VERSION}/sbt-${SBT_VERSION}.tgz | \ | ||
tar -xz -C /usr/local | ||
|
||
RUN useradd --create-home -s /bin/bash scala | ||
USER scala | ||
|
||
ENV SBT_HOME /usr/local/sbt | ||
ENV PATH ${PATH}:${SBT_HOME}/bin | ||
|
||
# Already run sbt here - in the next steps we'll run it again, but they change more often | ||
RUN sbt | ||
|
||
# This will build the compiler interface (which is really slow) | ||
# - for Scala 2.12 | ||
COPY init_scala-2.12 /tmp/init | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
|
||
scalaVersion := "2.12.3" | ||
scalaVersion := "2.12.4" | ||
|
||
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.1" cross CrossVersion.patch) | ||
addCompilerPlugin("org.spire-math" %% "kind-projector" % "0.9.4") | ||
addCompilerPlugin("io.tryp" %% "splain" % "0.2.6") | ||
addCompilerPlugin("io.tryp" % "splain" % "0.2.7" cross CrossVersion.patch) | ||
|
||
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.2" | ||
libraryDependencies += "org.typelevel" %% "cats-core" % "1.0.1" | ||
libraryDependencies += "com.chuusai" %% "shapeless" % "2.3.3" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.1.0 |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
scalaVersion := "2.12.3" | ||
scalaVersion := "2.12.4" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.1.0 |