Giter Club home page Giter Club logo

Comments (4)

ahmetb avatar ahmetb commented on May 31, 2024 1

this issue can be reproduced in non slim version as well

This is because the non-slim version is Debian-based, too (see README). The non-slim version is very large in size, but it has kubectl preinstalled.

Closing this issue as it is resolved for you. We are looking at releasing an :alpine tag so that the gcloud command can be used to install components.

from cloud-sdk-docker.

ahmetb avatar ahmetb commented on May 31, 2024

@salrashid123 is this because the -slim image is Debian-based and things are installed via apt? If that's the case, maybe we should follow one of these following routes:

  • Release also an :alpine tag, where this command would work.
  • Provide documentation in README in a "How to install additional components" and list appropriate commands for debian (apt-get) and alpine (gcloud components install).

@asarturas in your case, apt-get install kubectl should work as listed here: https://cloud.google.com/sdk/downloads#apt-get

from cloud-sdk-docker.

asarturas avatar asarturas commented on May 31, 2024

@ahmetb just to clarify, this issue can be reproduced in non slim version as well:

docker run --rm -it google/cloud-sdk:159.0.0 /bin/bash
root@902bf762c049:/# gcloud components install kubectl
You cannot perform this action because this Cloud SDK installation is
managed by an external package manager.  If you would like to get the
latest version, please see our main download page at:

https://cloud.google.com/sdk/

ERROR: (gcloud.components.install) The component manager is disabled for this installation

I did fix it for myself with apt-get command like you posted, yes. I've mentioned this since previous behaviour was different and there were no tags before, so had to alter CI, which picked up updates from latest.

from cloud-sdk-docker.

asarturas avatar asarturas commented on May 31, 2024

ah, cool, didn't realise. It's good that there was tagging introduced now, thanks.

from cloud-sdk-docker.

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.