Skip to content

Instantly share code, notes, and snippets.

@bandarji
Created January 23, 2019 22:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bandarji/b08390112534915f3c354b7e632e4d2d to your computer and use it in GitHub Desktop.
Save bandarji/b08390112534915f3c354b7e632e4d2d to your computer and use it in GitHub Desktop.
Local Bash functions
function py37a() {
docker run --rm -v $(pwd):/work -it py37a ${@}
}
function py37() {
docker run --rm -v $(pwd):/work -it py37 ${@}
}
function py27() {
docker run --rm -v $(pwd):/work -it py27 ${@}
}
function goa() {
docker run --rm -v $(pwd):/work -it go-alpine ${@}
}
function alpine() {
docker run --rm -v $(pwd):/work -it alpine ${@}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment