Comment 2 for bug 1699913

Revision history for this message
Davim (davim) wrote :

in https://github.com/tianon/docker-brew-ubuntu-core/blob/8ff098f80b47a127e0ccfb8a1400bb40ab28e23a/update.sh#L90 there's a layer that removes /var/lib/apt/lists/* but having this on it's own layer is pointless because it will sill be in the previous layers, not only these files should not be in the tarball but also "rm -rf /var/lib/apt/lists/*" should be merged into the previous layer.