Comments (7)
Should we use distroless instead?
from cloud-run-hello.
I was able to build just fine and GCB builds just fine too. Likely a setup issue on your side somehow. If you click on the image, it should be public.
The point of the image is to be extensible easily, distroless defeats that purpose I think.
from cloud-run-hello.
Can you try on a fresh / demo account?
from cloud-run-hello.
I switched the FROM marketplace.gcr.io/google/ubuntu1804:latest
to FROM alpine
and it worked. So there is something funky with using marketplace.gcr.io
from cloud-run-hello.
You are, indeed, correct.
Easy repro on desktop:
rm ~/.docker/config.json
docker pull marketplace.gcr.io/google/ubuntu1804:latest
Looks like the gcloud auth configure-docker -q
actually provisions this file, that has marketplace.gcr.io in it.
{
"credHelpers" : {
"us.gcr.io" : "gcloud",
"asia.gcr.io" : "gcloud",
"marketplace.gcr.io" : "gcloud",
"staging-k8s.gcr.io" : "gcloud",
"gcr.io" : "gcloud",
"eu.gcr.io" : "gcloud"
},
"stackOrchestrator" : "swarm"
}
I'll start an internal thread to discuss making the images public.
The redirected image gcr.io/cloud-marketplace/google/ubuntu1804@sha256:7832d9f0553c170ee2b5e3376c11f37ddfa3e425e303ad31e0810f5f3531bf8a
isn't public, either.
from cloud-run-hello.
Thanks for investigating further!
from cloud-run-hello.
This is now fixed!
from cloud-run-hello.
Related Issues (20)
- Avoid layout refresh due to unknown image size HOT 1
- Low accessibilty audit score
- No dark mode HOT 7
- Improve golang code sample practices HOT 5
- Add automated testing HOT 1
- Change "Congrats" to "Congratulations"
- Make the container display the value of an env var if present HOT 4
- Move to Go 1.14, use go.mod use smaller base image
- Is it possible to deploy multiple services with same google container image? HOT 1
- Trasnsitions
- no longer works on Cloud Run on GKE HOT 5
- placeholder: support arbitrary args
- Fix: Update tag to google-22
- README should provide Artifact Registry image
- Evaluate is cloudevent dependency is still needed HOT 1
- Main CTA is below the fold HOT 1
- The $PORT in the log message is a literal HOT 2
- Use "main" branch instead of "master" branch HOT 1
- Broken on local dev env
- Embed static resources
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-run-hello.