mlem icon indicating copy to clipboard operation
mlem copied to clipboard

Run `apt-get update` before installing unix dependencies

Open mike0sv opened this issue 2 years ago • 0 comments

In docker build, some unix dependencies will fail to install unless apt is updated first. We need to

  1. if unix dependencies are present, run update before installing them
  2. 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
  3. add option to docker build context to be able to alter updating and clearing commands to support other base images

mike0sv avatar Jul 13 '22 11:07 mike0sv