Skip to content

Instantly share code, notes, and snippets.

@ananeridev
Created October 1, 2020 17:49
Show Gist options
  • Save ananeridev/3c5b9fee9563324af475569021731f16 to your computer and use it in GitHub Desktop.
Save ananeridev/3c5b9fee9563324af475569021731f16 to your computer and use it in GitHub Desktop.
Dockerising a Scala app
alias sbtd='docker run -it --rm -v ~/.ivy2:/root/.ivy2 -v $PWD:/app -w /app mozilla/sbt sbt'
1 - vim ~/.aliases
2 - alias sbtd='docker run -it --rm -v ~/.ivy2:/root/.ivy2 -v $PWD:/app -w /app mozilla/sbt sbt'
3 - :wq
4 - vim ~/.zshrc
5 - source ~/.aliases
6 - zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment