-
Notifications
You must be signed in to change notification settings - Fork 22
/
Dockerfile
21 lines (17 loc) · 621 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# scala-builder:0.10.0-node blesses scala 2.12.11, sbt 1.2.8
FROM openlaw/scala-builder:0.11.0-node
# install plugins
COPY project ./project
# copy .sbtopts for project-specific JVM settings (we may want to use these across
# projects, or get rid of entirely - TBD)
COPY .sbtopts .
RUN sbt update #( installing plugins... )
# install deps
COPY build.sbt .
RUN sbt update #( installing deps... )
# build core and tests
COPY shared ./shared
RUN sbt compile test:compile fastOptJS
# put a copy of local CI scripts directly in image, so we don't have to rely
# upon mounting it in CI environments
COPY scripts ./scripts