Closed camallen closed 3 years ago
shrink the overall image size and the number of packages in the underlying image (and thus the security surface)
Also adds the new buildkit caching feature to cache the apt package manager installs as outlined in https://vsupalov.com/docker-buildkit-features/ and specifically https://github.com/moby/buildkit/blob/2a4577efabed1b4404e2884ef56873b8c0a42e95/frontend/dockerfile/docs/syntax.md#example-cache-apt-packages
shrink the overall image size and the number of packages in the underlying image (and thus the security surface)
Also adds the new buildkit caching feature to cache the apt package manager installs as outlined in https://vsupalov.com/docker-buildkit-features/ and specifically https://github.com/moby/buildkit/blob/2a4577efabed1b4404e2884ef56873b8c0a42e95/frontend/dockerfile/docs/syntax.md#example-cache-apt-packages