Created
March 8, 2020 13:20
-
-
Save hsm207/c807f6191a51c0f91f6732c4d2a5a870 to your computer and use it in GitHub Desktop.
Script to create a docker container to build Spark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it \ | |
-v $(pwd):/spark \ | |
-v /c/path/to/.m2:/root/.m2 \ | |
-v /c/path/to/.sbt:/root/.sbt \ | |
-v /c/path/to/.ivy2:/root/.ivy2 \ | |
-w /spark \ | |
--network host \ | |
openjdk:8 bash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment