question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't build with GCB in CloudShell - "no such file or directory"

See original GitHub issue

I’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:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
dgageotcommented, Feb 15, 2019

Hi, this should be fixed in Skaffold v0.23.0

1reaction
ahmetbcommented, Feb 15, 2019

Thanks for the report, will take a look.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found