Code Monkey home page Code Monkey logo

Comments (7)

jamesward avatar jamesward commented on August 23, 2024

Should we use distroless instead?

from cloud-run-hello.

ahmetb avatar ahmetb commented on August 23, 2024

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.

jamesward avatar jamesward commented on August 23, 2024

Can you try on a fresh / demo account?

from cloud-run-hello.

jamesward avatar jamesward commented on August 23, 2024

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.

ahmetb avatar ahmetb commented on August 23, 2024

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.

jamesward avatar jamesward commented on August 23, 2024

Thanks for investigating further!

from cloud-run-hello.

jamesward avatar jamesward commented on August 23, 2024

This is now fixed!

from cloud-run-hello.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.