This is for running sbt in Docker.
I am using the alpine variants of the AdoptOpenJDK OpenJDK images.
For AdoptOpenJDK JDK 8
docker pull eed3si9n/sbt
docker run -it --mount src="$(pwd)",target=/opt/workspace,type=bind eed3si9n/sbt
For AdoptOpenJDK JDK 11
docker pull eed3si9n/sbt:jdk11-alpine
docker run -it --mount src="$(pwd)",target=/opt/workspace,type=bind eed3si9n/sbt:jdk11-alpine