Skip to content

Instantly share code, notes, and snippets.

@gamlerhart
Last active August 29, 2015 14:10
Show Gist options
  • Save gamlerhart/d648ba83ccf357811579 to your computer and use it in GitHub Desktop.
Save gamlerhart/d648ba83ccf357811579 to your computer and use it in GitHub Desktop.
Containerized Scala builds with SBT
# JDK 8 with the latest SBT
spoon jdk:8.20,sbt
# JDK 7 with SBT 0.13.5
spoon jdk:8.20,sbt:0.13.5
# JDK 6 with SBT 0.12.4
spoon jdk:8.20,sbt:0.12.4
# Need more memory? Use the 64Bit version of the JDK
spoon jdk64:8.20,sbt
# Basic mount command
spoon --mount C:\FolderOnHost=C:\FolderInContainer
# Mount multiple locations
spoon --mount C:\Location1=C:\Location1 --mount C:\Location1=C:\Location1
spoon --mount %USERPROFILE%\.ivy2=%USERPROFILE%\.ivy2 --mount %CD%/target=%CD%/target jdk:8.20,sbt
spoon --mount %USERPROFILE%\.ivy2=%USERPROFILE%\.ivy2 jdk:8.20,sbt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment