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.
in https:/ /github. com/tianon/ docker- brew-ubuntu- core/blob/ 8ff098f80b47a12 7e0ccfb8a1400bb 40ab28e23a/ 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.