docker icon indicating copy to clipboard operation
docker copied to clipboard

Dockerfile.base: add aria2

Open PolynomialDivision opened this issue 4 years ago • 3 comments

OpenWrt now supports aria2c: https://github.com/openwrt/openwrt/commit/d391236269314a759acb7dfb7ec01ccaa0e0b32c

PolynomialDivision avatar Sep 25 '22 19:09 PolynomialDivision

ping @Ansuel

PolynomialDivision avatar Sep 25 '22 19:09 PolynomialDivision

OpenWrt now supports aria2c:

Does this necessarily mean, that everyone should start using it? BTW is it really ready for prime time yet? Shouldn't it be first enabled in CI container to see how it goes? IIUC then the purpose of base containers is well, being minimal, so if that is still the case, shouldn't the removal of similar tools, wget and curl be considered as well?

ynezz avatar Sep 26 '22 06:09 ynezz

Okay, lets postpone it. :)

PolynomialDivision avatar Sep 27 '22 07:09 PolynomialDivision

Is aria2 an advantage regarding speed to the current solution?

aparcar avatar Mar 20 '23 17:03 aparcar

@aparcar depends in theory yes since it's a much more advanced download tool... so for cdn usage it should make download near instant and should autoselect the best mirror.

Ansuel avatar Mar 20 '23 17:03 Ansuel

I reworked the Dockerfiles so they depend on the Buildbot images we're using. This PR should therefore add the tool to the Buildbot images instead.

aparcar avatar Mar 20 '23 17:03 aparcar

@aparcar btw in having fun with CI on the main repo, in an effort to reduce the image to small stuff, I notice we can use minideb container instead of full debian https://github.com/Ansuel/openwrt/commit/2a942ed2982692f21e507f620ce5b1687f22c76f

It's widely used so I can be an idea.

Ansuel avatar Mar 20 '23 17:03 Ansuel