[igt-dev] [PATCH] .gitlab-ci: Reduce Docker images size

Arkadiusz Hiler arkadiusz.hiler at intel.com
Thu Mar 5 10:21:01 UTC 2020


On Thu, Feb 27, 2020 at 12:23:35PM +0200, Ramotowski, Maciej wrote:
> Make Dockerfile's more universal.
> 
> Reduce size of Ubuntu based images by removing package lists.
> 
> Add support for building with build cache and without --squash flag:
> 
>  - Using apt-get update alone in a RUN statement causes caching issues
>    and subsequent apt-get install instructions fail.
> 
>  - When you run an image and generate a container, you add a new
>    writable layer (the “container layer”) on top of the underlying
>    layers. All changes made to the running container, such as writing
>    new files, modifying existing files, and deleting files, are written
>    to this thin  writable container layer.
> 
> Cc: Arkadiusz Hiler <arkadiusz.hiler at intel.com>
> Cc: Petri Latvala <petri.latvala at intel.com>
> Signed-off-by: Maciej Ramotowski <maciej.ramotowski at intel.com>

Looks sensible. Thanks!

The patch does not apply though:
https://patchwork.freedesktop.org/series/74003/

Can you rebase it?

For some reason Fi.CI.BUILD had sending out the results disabled in
patchwork. I have now enabled it.

-- 
Cheers,
Arek


More information about the igt-dev mailing list