|
@@ -2,13 +2,12 @@ FROM openjdk:11-jdk
|
|
|
|
|
|
ARG SBT_VERSION=1.2.8
|
|
|
|
|
|
-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
|
|
|
+# Install sbt
|
|
|
+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 /vertx
|
|
|
COPY src src
|