Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
coleji committed Nov 25, 2023
1 parent 5543071 commit 31040e7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 31040e7

Please sign in to comment.