| FROM gerritforge/gerrit-ci-agent-bazel:debian-bullseye-latest |
| |
| # SBT Setup |
| RUN apt-get update --allow-releaseinfo-change && \ |
| apt-get -y install apt-transport-https && \ |
| echo "deb https://repo.scala-sbt.org/scalasbt/debian all main" | tee /etc/apt/sources.list.d/sbt.list && \ |
| echo "deb https://repo.scala-sbt.org/scalasbt/debian /" | tee /etc/apt/sources.list.d/sbt_old.list && \ |
| curl -sL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x2EE0EA64E40A89B84B2DF73499E82A75642AC823" | apt-key add && \ |
| apt-get update --allow-releaseinfo-change && \ |
| apt-get -y install --no-install-recommends sbt && \ |
| rm -rf /etc/apt/sources.list.d/* && \ |
| rm -rf /var/lib/apt/lists/* |
| |
| USER root |