From 31040e7ac4f804f6e1d6a8dcc49a3fce0b40e95c Mon Sep 17 00:00:00 2001 From: Jonathan Cole Date: Sat, 25 Nov 2023 09:45:24 -0500 Subject: [PATCH] asdf --- Dockerfile.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Dockerfile.build b/Dockerfile.build index d3662a5b..f6af1283 100644 --- a/Dockerfile.build +++ b/Dockerfile.build @@ -1,11 +1,13 @@ FROM eclipse-temurin:17-jdk-focal WORKDIR /app -COPY src.tar /app/ -RUN tar -zxf /app/src.tar +RUN apt update +RUN apt install gnupg -y 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 apt-get install sbt -y +COPY src.tar /app/ +RUN tar -zxf /app/src.tar RUN cd /app && sbt compile CMD cd /app && sbt run