[Bug 1699913] Re: /var/lib/apt/lists has content in partner-images/Docker tarballs, which becomes stale quickly
Michael Hudson-Doyle
mwhudsonlp at fastmail.fm
Wed Jun 6 17:47:20 UTC 2018
** Also affects: livecd-rootfs (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/1699913
Title:
/var/lib/apt/lists has content in partner-images/Docker tarballs,
which becomes stale quickly
Status in cloud-images:
New
Status in livecd-rootfs package in Ubuntu:
New
Bug description:
In the Docker builds, we explicitly include "rm -rf
/var/lib/apt/lists/*" to remove the APT list files, because they're
quite large, and they get stale very quickly.
We instead recommend users always couple "apt-get update" with their
"apt-get install" lines (see https://docs.docker.com/engine/userguide
/eng-image/dockerfile_best-practices/#apt-get).
Is there any chance of getting those files excluded or removed from
the tarballs themselves? Uncompressed, this would result in a ~30MB
size decrease (obviously likely less dramatic for the compressed
tarballs). The user-facing result is that users are forced to run
"apt-get update" before they can "apt-get install" (which for the
Docker images, we already do, so there will be no user-facing effect
except that the on-disk image layers will be ~30MB smaller).
See also https://github.com/tianon/docker-brew-ubuntu-core/issues/90
for more discussion on this (which is what led to filing this issue).
:)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-images/+bug/1699913/+subscriptions
More information about the foundations-bugs
mailing list