Created
May 15, 2021 04:40
-
-
Save sudomann/5378f7ec25770ed81786adba47ab6c4f to your computer and use it in GitHub Desktop.
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 -it alpine:latest sh | |
/ # apk add --update curl | |
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz | |
fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz | |
(1/5) Installing ca-certificates (20191127-r5) | |
(2/5) Installing brotli-libs (1.0.9-r3) | |
(3/5) Installing nghttp2-libs (1.42.0-r1) | |
(4/5) Installing libcurl (7.76.1-r0) | |
(5/5) Installing curl (7.76.1-r0) | |
Executing busybox-1.32.1-r6.trigger | |
Executing ca-certificates-20191127-r5.trigger | |
OK: 8 MiB in 19 packages | |
/ # curl --fail https://static.rust-lang.org/rustup/dist/x86_64-unknown-linux-gnu/rustup-init > /tmp/rustup-init | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 15.3M 100 15.3M 0 0 8264k 0 0:00:01 0:00:01 --:--:-- 8264k | |
/ # ls /tmp | |
rustup-init | |
/ # chmod +x /tmp/rustup-init | |
/ # /tmp/rustup-init -y --no-modify-path --default-toolchain stable | |
sh: /tmp/rustup-init: not found | |
/ # |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment