Comments (4)
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.
@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.
@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.
ah, cool, didn't realise. It's good that there was tagging introduced now, thanks.
from cloud-sdk-docker.
Related Issues (20)
- Buildx missing HOT 6
- `gke-gcloud-auth-plugin` does not honor `CLOUDSDK_CONFIG` env var HOT 1
- Image tag 433 breaks docker authentication HOT 5
- Entrypoint doesn't work in Dockerfile from version 430.0.0 HOT 2
- Update Alpine image to 3.18 HOT 1
- Pubsub shutdown time
- The Debian packages using the wrong architecture, etc in the official container HOT 1
- Alpine image missing libresolv.so.2 for kubectl HOT 1
- Upgrade Debian image to bookworm HOT 8
- Curl upgrade to include fail-with-body option HOT 3
- Installing config-connector component HOT 2
- kubectl binary contains CVE-2023-39323 security vulnerability HOT 3
- When updating cloud run jobs image, job task-timeout is reset to default value. HOT 1
- Are you planning to host the image on pkg.dev? HOT 2
- google or gcr.io/google.com HOT 2
- APT repository changed Origin to cloud-sdk-bullseye HOT 2
- gcloud-sdk-bookworm InRelease' changed its 'Label' value from 'cloud-sdk-bullseye' to 'cloud-sdk-bookworm' HOT 7
- latest gcloud-sdk:emulators (468) broken (time-out) for create topic pubsub API
- introduce python3 3.11 with the image and make it default
- Attempting to re-establish stream for both 470 and 471
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-sdk-docker.