Last active
September 10, 2017 17:26
-
-
Save salrashid123/465f2ca40508295e88ceb647975eeef4 to your computer and use it in GitHub Desktop.
Installing google cloud sdk on alpine APK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -ti alpine sh | |
$ apk add google-cloud-sdk --update-cache --repository https://storage.googleapis.com/mineral-minutia-820/alpine/v3.5/community --allow-untrusted | |
fetch https://storage.googleapis.com/mineral-minutia-820/alpine/v3.5/community/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz | |
fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz | |
(1/14) Upgrading musl (1.1.15-r5 -> 1.1.15-r6) | |
(2/14) Installing libbz2 (1.0.6-r5) | |
(3/14) Installing expat (2.2.0-r0) | |
(4/14) Installing libffi (3.2.1-r2) | |
(5/14) Installing gdbm (1.12-r0) | |
(6/14) Installing ncurses-terminfo-base (6.0-r7) | |
(7/14) Installing ncurses-terminfo (6.0-r7) | |
(8/14) Installing ncurses-libs (6.0-r7) | |
(9/14) Installing readline (6.3.008-r4) | |
(10/14) Installing sqlite-libs (3.15.2-r0) | |
(11/14) Installing python2 (2.7.13-r0) | |
(12/14) Installing libc6-compat (1.1.15-r6) | |
(13/14) Installing google-cloud-sdk (147.0.0-r0) | |
(14/14) Upgrading musl-utils (1.1.15-r5 -> 1.1.15-r6) | |
Executing busybox-1.25.1-r0.trigger | |
OK: 139 MiB in 23 packages | |
$ which gcloud | |
/usr/bin/gcloud | |
$ ls -la /usr/bin/gcloud | |
lrwxrwxrwx 1 root root 28 Mar 19 20:30 /usr/bin/gcloud -> /google-cloud-sdk/bin/gcloud | |
$ gcloud version | |
Google Cloud SDK 147.0.0 | |
bq 2.0.24 | |
bq-nix 2.0.24 | |
core 2017.03.13 | |
core-nix 2017.03.13 | |
gcloud | |
gcloud-deps 2017.03.13 | |
gcloud-deps-linux-x86_64 2017.03.13 | |
gsutil 4.22 | |
gsutil-nix 4.22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment