Replies: 3 comments 4 replies
|
I read: If this is done, only c binaries for Linux have to be build; not for macOS any more. This sounds good. Maybe, always use custom-binary for linux? Why bother with different curl versions if the probability of curl being non-installed is high? |
3 replies
|
Doing some housekeeping in old discussions. I never went this way. stage3 is still there doing the downloading, and there is no curl in stage1 or stage2. Actually adding more to stage3 right now (sha256), so if anything it went the opposite direction. @koppor your bars are safe. Closing this one. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Hi @koppor . I've been thinking - what about using
curlas much as possible?Initially I figured I had two options/paths:
Now I have already abandoned stage3 for Windows, in favor of PowerShell because I had a lot of issues with the C binary there.
So perhaps I should just follow path 2?
This means dropping
stage3for macOS as well, since therecurlis bound to be set (until they invent containers for mac, but I doubt that will happen).Meaning:
Using
curlwhen possible - if it fails usestage3if present - if that fails then fail.curl, no stage3curlif present, and if curl fails (e.g., outdated certs) then fall back tostage3Worth noting that a lot of linux containers might have outdated certs, and the big ones, such as
ubuntuanddebiandoesn't havecurlor certificates at all, meaning therestage3will always be used.alpinecontainer image has a silly versionwgetI'd rather not support, sostage3would be used there as well.In the end:
All reactions