docker: ADD «url» considered harmful? (intermediate) anthony explains #032

preview_player
Показать описание
today I talk about a feature of `docker` (and dockerfiles) and its limitations and shortcomings and why you probably should `curl` instead.

==========

I won't ask for subscriptions / likes / comments in videos but it really helps the channel. If you have any suggestions or things you'd like to see please comment below!
Рекомендации по теме
Комментарии
Автор

Thanks for sharing! What about using ADD to download the file (without the needing of installing curl in the image) and then use sha256 and rm?

I mean, a mixture of both method shown. I think we can have the best of each method in that way.

manuelhumo
Автор

But can't you do the same thing using ADD? can't u check the checksum and remove it on next lines?

AlirezaAyinmehr