Skip to content

Commit

Permalink
fix(#25): error the input device is not a TTY from gcloud (#26)
Browse files Browse the repository at this point in the history
It happens when we try to capture the output in a variable using
the flag `-it` on the `docker run` command.
An interactive terminal cannot be created in this situaton.

Closes #25
  • Loading branch information
DavidCardoso authored Sep 29, 2023
1 parent 1060a81 commit f51f777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/gcloud
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IMAGE=eu.gcr.io/google.com/cloudsdktool/google-cloud-cli:latest
WORKDIR=/app

# run from your working directory
docker run -it --rm \
docker run --rm \
--platform linux/amd64 \
--volume $PWD:$WORKDIR \
--volumes-from gcloud-config \
Expand Down

0 comments on commit f51f777

Please sign in to comment.