CURL instead of WGET
In Docker containers
Oct 2, 2022
Often in docker containers you find this way of downloading files:
It begs the question, why put an extra tool? Wget
can be easily and simply replaced by the default curl
(well, not always, but the chance of it being there is higher than the plague of the same wget
).
What is written above can be replaced by the following line:
Well, if you work on a system where there is no wget, but, for some reason, you need wget, you can create such an alias (as an option):
Here’s a little tip for you. If you like it, please support me by giving me a “Like”. It’s important to me. 😻