Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error regarding "sbt" #12

Open
miande-acxiom opened this issue Oct 12, 2022 · 0 comments
Open

Build error regarding "sbt" #12

miande-acxiom opened this issue Oct 12, 2022 · 0 comments

Comments

@miande-acxiom
Copy link

I could not build the Docker image as documented. However, I was able to modify (at present) lines 10-14 which are:

  curl -L -o sbt-$SBT_VERSION.deb https://dl.bintray.com/sbt/debian/sbt-$SBT_VERSION.deb && \
  dpkg -i sbt-$SBT_VERSION.deb && \
  rm sbt-$SBT_VERSION.deb && \
  apt-get install sbt && \
  sbt sbtVersion -Dsbt.rootdir=true;

with the following lines:

  apt-get install gnupg -y && \
  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 -y && \
  apt-get install sbt=$SBT_VERSION -y && \
  sbt sbtVersion -Dsbt.rootdir=true;

Once the lines in the Dockerfile were replaced, the Docker build for the image worked perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant