Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ScalaWilliam/scala-native-sbt-docker
https://github.com/ScalaWilliam/scala-native-sbt-docker
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ScalaWilliam/scala-native-sbt-docker
- Owner: ScalaWilliam
- Created: 2017-03-16T00:29:01.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T02:56:29.000Z (over 7 years ago)
- Last Synced: 2024-04-22T13:33:06.656Z (8 months ago)
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-scala-native - scala-native-sbt-docker - Docker image for Scala Native and sbt. (Infrastructure)
README
# scala-native-sbt-docker
Docker image to get quickly started with scala-native & SBT.
This image preloads:
* CLang 3.8
* SBT
* scala-native essential dependenciesAnd runs Debian.
This image is used for scala-native-libpcap.
## Usage
Assuming your scala-native project is at `/source/project`,
```
$ docker run -v /source/project:/p -it scalawilliam/scala-native-sbt
root@248baf99ddc2:/# cd /p
root@248baf99ddc2:/p# sbt '~run'
```### Compiling and running separately
```
root@248baf99ddc2:/p# sbt '~nativeLink'
```And in another terminal:
```
$ docker exec -it 248baf99ddc2 /p/target/scala-2.11/p-out
```