mlem
mlem copied to clipboard
Run `apt-get update` before installing unix dependencies
In docker build, some unix dependencies will fail to install unless apt is updated first. We need to
- if unix dependencies are present, run update before installing them
- use best practices for it like doing updating and installation in one step, clear apt cache in the same step to make layer size smaller
- add option to docker build context to be able to alter updating and clearing commands to support other base images