diff --git a/Dockerfile.build b/Dockerfile.build index b240b264..d3662a5b 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -2,10 +2,10 @@ FROM eclipse-temurin:17-jdk-focal WORKDIR /app COPY src.tar /app/ RUN tar -zxf /app/src.tar -RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | sudo tee /etc/apt/sources.list.d/sbt.list -RUN echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | sudo tee /etc/apt/sources.list.d/sbt_old.list -RUN curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | sudo apt-key add -RUN sudo apt-get update -RUN sudo apt-get 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 +RUN apt-get install sbt RUN cd /app && sbt compile CMD cd /app && sbt run