|
@@ -1,19 +1,14 @@
|
|
FROM adoptopenjdk/openjdk13
|
|
FROM adoptopenjdk/openjdk13
|
|
|
|
|
|
-ARG SBT_VERSION=1.3.7
|
|
|
|
-
|
|
|
|
-RUN \
|
|
|
|
- apt-get update && \
|
|
|
|
- apt-get -y install git
|
|
|
|
|
|
+RUN apt-get update -yqq
|
|
|
|
+RUN apt-get install -yqq gnupg git
|
|
|
|
|
|
# Install sbt
|
|
# Install sbt
|
|
-RUN \
|
|
|
|
- curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && \
|
|
|
|
- dpkg -i sbt-$SBT_VERSION.deb && \
|
|
|
|
- rm sbt-$SBT_VERSION.deb && \
|
|
|
|
- apt-get update && \
|
|
|
|
- apt-get install sbt && \
|
|
|
|
- sbt sbtVersion
|
|
|
|
|
|
+RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list
|
|
|
|
+RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list
|
|
|
|
+RUN curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add
|
|
|
|
+RUN apt-get update -yqq
|
|
|
|
+RUN apt-get install -yqq sbt
|
|
|
|
|
|
WORKDIR /scalene
|
|
WORKDIR /scalene
|
|
COPY project project
|
|
COPY project project
|