Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building images requires installing gcloud #131

Closed
hwright opened this issue Nov 14, 2017 · 1 comment
Closed

Building images requires installing gcloud #131

hwright opened this issue Nov 14, 2017 · 1 comment

Comments

@hwright
Copy link
Contributor

hwright commented Nov 14, 2017

On a fresh clone of the git repository, on a clean vm of one's choice, building a distroless image requires first installing the gcloud commandline tool. It seems that print-workspace-status.sh is using gcloud for something:

$ bazel build python2.7:python27
INFO: Found 1 target...
ERROR: Process exited with status 127: Process exited with status 127.
./print-workspace-status.sh: line 8: gcloud: command not found
Target //python2.7:python27 failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 107.303s, Critical Path: 0.05s
$

This would appear to be an extraneous dependency. We should consider removing it.

@r2d4
Copy link
Contributor

r2d4 commented Nov 14, 2017

This sounds good to me. It's used to get the current project_id, which is only used for the publish step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants