Created
May 3, 2018 15:29
-
-
Save djwhitt/66ada406440b02928b6cb9ab38c0200d to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
term_opts='-it' | |
if [[ $@ == **-d** ]]; then | |
term_opts='-i' | |
fi | |
exec docker run $term_opts \ | |
--user $(id -u) \ | |
--rm=true \ | |
-e "HOME=$HOME" \ | |
-v "$HOME:$HOME" \ | |
-w "$PWD" \ | |
djwhitt/lumo lumo "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment