Alternatively, you can also install it via:
curl -L -o sbt.deb http://dl.bintray.com/sbt/debian/sbt-0.13.15.deb
sudo dpkg -i sbt.deb
sudo apt-get update
sudo apt-get install sbt
Please replace sbt-0.13.15
above with the actual version of sbt
you want.
Reference:
- https://hub.docker.com/r/hseeberger/scala-sbt/~/dockerfile/
- https://medium.com/@yzhong.cs/getting-started-with-docker-scala-sbt-d91f8ac22f5f