Closed Bug 1324766 Opened 7 years ago Closed 6 years ago

Remove /var/lib/apt/lists/ from decision image

Categories

(Taskcluster Graveyard :: Docker Images, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: jonasfj, Assigned: jonasfj)

Details

Adding:
  rm -rf /var/lib/apt/lists/
at the end of system-setup.sh seems to produce 40mb smaller image.
It's not much, but I'll take it :)

  before  taskcluster/decision   511b94630dbd        About a minute ago   210.6 MB
  after   taskcluster/decision   23b17557adc2        6 seconds ago        171.1 MB

We should probably look into doing this for other images too.
I'm currently playing with the idea of simplifying .taskcluster.yml and will do this too if I remember.
Assignee: nobody → jopsen
Status: NEW → ASSIGNED
Remember that we can't currently regenerate the ubunutu*-test images (bug 1289812)
Is the intention here to disable the ability to update?  If we're doing that, we should probably be pinning the versions in the docker file creation instead.

Jonas, is this still needed?
Flags: needinfo?(jopsen)
The idea is to save some space in the image.  I think a better fix would be to use Debian for the decision image.

Glandium might be able to comment on this.
Flags: needinfo?(jopsen) → needinfo?(mh+mozilla)
Yes, we should switch the decision image to Debian (it is currently Ubuntu 16.04). But that's territory for another bug (which I'll file).
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(mh+mozilla)
Resolution: --- → INCOMPLETE
Product: Taskcluster → Taskcluster Graveyard
You need to log in before you can comment on or make changes to this bug.