Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
ScalaWilliam Merge pull request #1 from MarijoC/patch-1
Docker command fails to run
Latest commit a4b25c2 Mar 15, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md

README.md

scala-native-sbt-docker

Docker image to get quickly started with scala-native & SBT.

This image preloads:

  • CLang 3.8
  • SBT
  • scala-native essential dependencies

And 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
You can’t perform that action at this time.