Also manually cleaned up `/var/lib/apt/lists` in original commits but got conflict with #97, then removed. Ref: https://docs.docker.com/develop/develop-images/dockerfile_best-practices/ > In addition, when you clean up the apt cache by removing > /var/lib/apt/lists it reduces the image size, since the apt cache is not > stored in a layer. > Official Debian and Ubuntu images automatically run apt-get clean, > so explicit invocation is not required.
584 B
584 B