[Bug 1699913] Re: /var/lib/apt/lists has content in partner-images/Docker tarballs, which becomes stale quickly
Launchpad Bug Tracker
1699913 at bugs.launchpad.net
Wed Jun 6 21:03:19 UTC 2018
This bug was fixed in the package livecd-rootfs - 2.529
---------------
livecd-rootfs (2.529) cosmic; urgency=medium
* Improvements to the ubuntu-base (i.e. Docker) build:
- Customize the unminimize script to not install ubuntu-minimal.
- Divert /usr/bin/man to a script that points to the unminimize script.
- Remove apt lists that are currently removed downstream anyway.
(LP: #1699913)
-- Michael Hudson-Doyle <michael.hudson at ubuntu.com> Thu, 07 Jun 2018
05:59:12 +1200
** Changed in: livecd-rootfs (Ubuntu)
Status: New => Fix Released
--
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:
Fix Released
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