SHARE
TWEET

Untitled

a guest Oct 21st, 2019 83 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top