correct `apt-get` for ubuntu / debian in docker (intermediate) anthony explains #256

preview_player
Показать описание
today I show the correct way to use `apt-get` in docker when working with debian-based systems (as well as a common incorrect way)

==========

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!
Рекомендации по теме
Комментарии
Автор

Usually I just bookmark the video or add to some playlist but this line of you actually made me feel like subscribing
"I won't ask for subscriptions / likes / comments in videos but ..."
BTW awesome content 🤩

atharvaupadhye
Автор

What are your thoughts on this kind of syntax?

```
RUN set -e; \
python3 -m venv venv; \
venv/bin/pip install -r requirements.txt; \
venv/bin/pip install -r requirements-dev.txt; \
echo 'Venv creation + requirements installation: OK';
```

This would give you a much better output when a specific line fails for some reason as they aren't all chained together with AND operators.

yates_