gitignore .bcli-local-tar

This commit is contained in:
jpt4 2023-05-18 19:37:11 +00:00
parent 5e240382fb
commit ae9276f2f9
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ jtorre-user
jtorre-docker-token jtorre-docker-token
.notes.txt .notes.txt
.localbuild .localbuild
.bcli-local-tar

View File

@ -1,6 +1,7 @@
bcli() { bcli() {
if [ "$1" = "up" ]; then if [ "$1" = "up" ]; then
docker run --rm -d -v $HOME:/host --name "bcli-develop" -h "bcli-develop" -e USER=$USER -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -e DISPLAY=$DISPLAY -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" ${BCLI_IMAGE:-public.ecr.aws/l5h5o6z4/broccoli-cli:latest} > /dev/null docker run --rm -d -v $HOME:/host --name "bcli-develop" -h "bcli-develop" -e USER=$USER -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -e DISPLAY=$DISPLAY -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" public.ecr.aws/l5h5o6z4/broccoli-cli:latest > /dev/null
#docker run --rm -d -v $HOME:/host --name "bcli-develop" -h "bcli-develop" -e USER=$USER -e USER_ID=$(id -u) -e GROUP_ID=$(id -g) -e DISPLAY=$DISPLAY -v "/tmp/.X11-unix:/tmp/.X11-unix:rw" ${BCLI_IMAGE:-public.ecr.aws/l5h5o6z4/broccoli-cli:latest} > /dev/null
echo "bcli-develop started" echo "bcli-develop started"
elif [ "$1" = "down" ]; then elif [ "$1" = "down" ]; then
docker stop bcli-develop > /dev/null docker stop bcli-develop > /dev/null