Created
October 3, 2019 11:51
-
-
Save rhoboro/9c27090715205b8e54c73590830e1b7c 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
#! /bin/bash | |
if [ "$1" = "upgrade" ]; then | |
echo "updating..." | |
docker pull colorfulboard/bq_profile:latest --quiet > /dev/null | |
echo "done" | |
elif [ "$1" = "local" ]; then | |
docker run -it --rm -v ~/.config/gcloud:/root/.config/gcloud -v $(pwd):/usr/src/app colorfulboard/bq_profile:latest "${@:2:($#-1)}" | |
else | |
docker run -it --rm -v $(pwd):/usr/src/app colorfulboard/bq_profile:latest "$@" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment