From a8b1200c743eff32e50847a408815e159974627a Mon Sep 17 00:00:00 2001 From: Arnaud Ferrand Date: Tue, 21 Sep 2021 20:31:23 +0100 Subject: [PATCH] fix sbt installation --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e57d69a..8ba15e0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,14 @@ WORKDIR / RUN apt-get update -RUN apt-get -y install apt-transport-https +RUN apt-get -y install apt-transport-https curl + +# https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html#Ubuntu+and+other+Debian-based+distributions +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 echo "deb https://dl.bintray.com/sbt/debian /" | tee -a /etc/apt/sources.list.d/sbt.list RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" -RUN apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8 -RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823 RUN apt-get update