- changed status to open
Wget doesn't support https
op@lightwhale:~$ wget https://download.qemu.org/qemu-8.0.2.tar.xz
wget: not an http or ftp url: https://download.qemu.org/qemu-8.0.2.tar.xz
Comments (8)
-
-
Confirmed, thanks for submitting. We can’t have a broken
wget
in Lightwhale!The current
wget
implementation comes frombusybox
, and adding SSL looks like it’s going to be somewhat of a hassle; it can either be done using a semi-broken implementation of SSL, or rely on externalopenssl
tools — which of course would have to be installed first and add to the image size. I don’t want any of those options.A second options is to drop the
busybox
implementation and add the package directly frombuildroot
. This compileswget
from source and actually build a functioning binary, as I just tested. But thewget
binary alone is 550k! After removing it frombusybox
, this still adds 547k to the raw cpio image (213k to the squashfs image).I don’t like the second option either;
wget
is too big. There’s alreadycurl
which works with https. I knowwget
it's popular, but two built-in http clients is a luxury we cannot have in Lightwhale, sorry.Therefore I’ll pick options three: Delete
wget
from Lightwhale in the upcoming release.cannot have.
Please use
curl
instead, e.g.:curl -JORL https://download.qemu.org/qemu-8.0.2.tar.xz
On a side note: I’m personally using
http
from httpie.io from my workstation as I find this client much easier to use. I’ve long wanted to include it as abash
alias that uses a container. And I just noticed that not only is there an officialhttpie
container at https://hub.docker.com/r/alpine/httpie/, but in their README they’re also suggesting the shell aliases I want. I’ll test this out and possibly add such an alias. In the meantime, you can try this out yourself, if you like. I’d love to hear the feedback ;)hhjj.
-
- changed status to resolved
Removing
wget
. -
- changed status to wontfix
Marked as wontfix because this reflects my solution better; I won't fix
wget
, instead I delete it, and recommend usingcurl
orhttpie
. -
- changed status to closed
-
- changed status to wontfix
-
- changed status to open
I suppose this should be open until it's released...
-
- changed status to wontfix
- Log in to comment