Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eed3si9n/docker-sbt
Docker image for sbt
https://github.com/eed3si9n/docker-sbt
Last synced: 15 days ago
JSON representation
Docker image for sbt
- Host: GitHub
- URL: https://github.com/eed3si9n/docker-sbt
- Owner: eed3si9n
- License: apache-2.0
- Created: 2019-02-16T05:40:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-06T14:07:34.000Z (over 2 years ago)
- Last Synced: 2024-05-01T19:40:37.585Z (6 months ago)
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/eed3si9n/sbt
- Size: 16.6 KB
- Stars: 18
- Watchers: 5
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sbt Docker image
================This is for running sbt in Docker.
### base Docker image
- [adoptopenjdk/openjdk8](https://hub.docker.com/r/adoptopenjdk/openjdk8)
- [adoptopenjdk/openjdk11](https://hub.docker.com/r/adoptopenjdk/openjdk11)I am using the alpine variants of the AdoptOpenJDK OpenJDK images.
## usage
For AdoptOpenJDK JDK 8
```
docker pull eed3si9n/sbt
docker run -it --mount src="$(pwd)",target=/opt/workspace,type=bind eed3si9n/sbt:jdk8-alpine
```To use `/bin/bash` as the entry point (for `console` task etc):
```
docker run --entrypoint "/bin/bash" -it --mount src="$(pwd)",target=/opt/workspace,type=bind eed3si9n/sbt:jdk8-alpine
```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
```