-
Notifications
You must be signed in to change notification settings - Fork 146
Make 'apt-get install google-cloud-sdk' just work #50
Comments
Installing lsb_release would add around 20MB: The following extra packages will be installed:
libexpat1 libffi6 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 mime-support python python-minimal python2.7 python2.7-minimal
Suggested packages:
lsb python-doc python-tk python2.7-doc binutils binfmt-support
Recommended packages:
file
The following NEW packages will be installed:
libexpat1 libffi6 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libsqlite3-0 lsb-release mime-support python python-minimal python2.7 python2.7-minimal
0 upgraded, 12 newly installed, 0 to remove and 14 not upgraded.
Need to get 4690 kB of archives.
After this operation, 18.1 MB of additional disk space will be used. I'm inclined to leave it out, but making "apt-get install google-cloud-sdk" work should just work. |
Doh. I agree it's not worth 30% increase in base image size. However, in this case, we can replace the 20MB with In the debian-docker repo, it looks like there is already a $VERSION set to |
The next problem after lsb_release is |
So thinking about this again, we can make "apt-get install google-cloud-sdk" just work by adding the apt repo by default, but that still won't fix things for users that follow the docs (and hit a missing lsb_release, among other things). Any thoughts? |
If we bake steps 1-3 of the install process into the image, I think we just update the installation docs to say "if using App Engine/GKE/GCF/Prime, skip to step 4". There's already a note about GCE, we just make that note longer. |
…y overlap (#50) * create new StructureTest instance for every file parse to avoid memory overlap * add --no-pull and -h flags. gofmt * fix --no-pull doc
Is it solved? |
Unfortunately no. |
@duggelz @dedeco Does the following maybe help you out? https://github.com/GoogleCloudPlatform/cloud-sdk-docker |
@YaguraStation Thank you for you advice, but I decided run my models locally. |
It looks like installing "google-cloud-sdk" is working. Maybe I'm not installing the full suite of it. But basic usage of gcloud and gsutil, etc works fine. You just need to add the additional deb repo and gpg key. There is a experimental version of using rules_docker here (https://github.com/bazelbuild/bazel-toolchains/blob/master/container/ubuntu16_04/layers/gcloud/BUILD#L32 |
I ran into this issue and the issue was that the doc was wrong. According to the google's documentation, the So, right now this is what I do for stretch and works fine for me
|
Absolutely Debian based google cloud sdk image would do a lot. +1 |
The official documentation - Installing with apt-get (Debian and Ubuntu only) is available now. |
This page has a six-step process for installing 'gcloud', including one that doesn't work on this image (The step with lsb_release).
https://cloud.google.com/sdk/downloads
This image should already have the apt database setup with the correct paths, repositories, and keys.
The text was updated successfully, but these errors were encountered: