Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. if [ "$1" = "upgrade" ]; then
  4. echo "updating..."
  5. docker pull colorfulboard/bq_profile:latest --quiet > /dev/null
  6. echo "done"
  7. elif [ "$1" = "local" ]; then
  8. docker run -it --rm -v ~/.config/gcloud:/root/.config/gcloud -v $(pwd):/usr/src/app colorfulboard/bq_profile:latest "${@:2:($#-1)}"
  9. else
  10. docker run -it --rm -v $(pwd):/usr/src/app colorfulboard/bq_profile:latest "$@"
  11. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement