Can't build with GCB in CloudShell - "no such file or directory"
See original GitHub issueI’m trying to run this app in GCP CloudShell and after facing the “no space” error, I cleaned the disk and start over. Now, when I run the command to build on GCB skaffold run -p gcb --default-repo=gcr.io/[PROJECT_ID]
I’m getting the following error:
Starting build...
Building [gcr.io/[PROJECT_ID]/emailservice]...
Pushing code to gs://[PROJECT_ID]_cloudbuild/source/[PROJECT_ID]-b85aab371fd9bd087c76d32acd797268.tar.gz
FATA[0002] build failed: building [gcr.io/[PROJECT_ID]/emailservice]: uploading source tarball: uploading targz to google storage: creating tar gz: lstat /home/christianhx
c/microservices-demo/src/emailservice/src/emailservice/Dockerfile: no such file or directory
I’m using the Skaffold v0.22.0, and I’ve also tried updating the skaffold.yaml version to beta4
but same error.
Note: When running the command I’m including the proper project id.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
GCC: No such file or directory - Stack Overflow
I am using a shell script (.bat) file to compile and build the project. If I use no libraries, it compiles and runs...
Read more >Fix Error: GCC/G++ No such file or directory - YouTube
How to fix error GCC /G++ No such file or directory - fatal error No input files. ... Your browser can't play this...
Read more >No such file or directory gcc.exe: fatal error - CodeWithHarry
This error is pretty much saying that you have the gcc installed and working on your computer but you dont have the file...
Read more >Azure Cloud Shell troubleshooting | Microsoft Learn
This article covers troubleshooting Cloud Shell common scenarios. ... an Azure Active Directory subscription, you can't create storage.
Read more >How to compile and install Linux Kernel 5.16.9 from source code
You must have development tools such as GCC compilers and related tools ... It will install three files into /boot directory as well...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, this should be fixed in Skaffold v0.23.0
Thanks for the report, will take a look.