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

set_project_info.sh creates an invalid GCR_PATH, Docker build fails after fixing as well #2

Open
brianchunkang opened this issue Oct 24, 2023 · 0 comments

Comments

@brianchunkang
Copy link

The path and the comment are concatenated together and are not recognized by the Docker build command. I replaced the real project with "my-project" fyi:
GCR_PATH=gcr.io/my-project/rayllama# fill this part out

After manually fixing, the ./scripts/build_docker.sh all command fails with this message:

Command: docker build . -f Dockerfile.serve --network=host -t gcr.io/my-project/rayllama:serve
[+] Building 0.0s (2/2) FINISHED docker:default
=> [internal] load build definition from Dockerfile.serve 0.0s
=> => transferring dockerfile: 2B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
ERROR: failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount339118601/Dockerfile.serve: no such file or directory
Built! Now pushing to GCR.
The push refers to repository [gcr.io/my-project/rayllama]
An image does not exist locally with the tag: gcr.io/my-project/rayllama

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

1 participant