Skip to content

Instantly share code, notes, and snippets.

@hsm207
Created March 8, 2020 13:20
Show Gist options
  • Save hsm207/c807f6191a51c0f91f6732c4d2a5a870 to your computer and use it in GitHub Desktop.
Save hsm207/c807f6191a51c0f91f6732c4d2a5a870 to your computer and use it in GitHub Desktop.
Script to create a docker container to build Spark
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