[diffoscope] Large layers in diffoscope docker image

Greg Chabala greg.chabala at gmail.com
Fri May 22 16:35:51 UTC 2020


Hello,

Just discovered diffoscope and was giving it a try, but I was surprised to
see how large the docker image is:

$ docker run --rm -t -w $(pwd) -v $(pwd):$(pwd):ro \
      registry.salsa.debian.org/reproducible-builds/diffoscope file1 file2
Unable to find image '
registry.salsa.debian.org/reproducible-builds/diffoscope:latest' locally
latest: Pulling from reproducible-builds/diffoscope
6d3c280df34a: Pull complete
cb97cb9b40cd: Pull complete
28a619dd92ef: Pull complete
98081eb2039d: Pull complete
36448b09931e: Downloading [========>
   ]  210.7MB/1.212GB
045d07c7f1f1: Download complete
ba9a9e273802: Download complete

I considered opening an issue for this, but I thought I'd ask about it
first. I don't think 1GB+ image layers is a good idea. Was this necessary
for some reason?

Looking at the Dockerfile, I wonder if this could be remedied by combining
more of your RUN statements together:
https://salsa.debian.org/reproducible-builds/diffoscope/-/blob/e779fe60ab94f0cb8cc094e827f2626e41e76ee1/Dockerfile

Cheers,
Greg Chabala
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/diffoscope/attachments/20200522/fdfb1916/attachment.htm>


More information about the diffoscope mailing list