Skip to content

Commit

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

0 comments on commit 5543071

Please sign in to comment.