Some of our dockerfiles include custom statements, and those are missing
explicit apt update when doing an apt install.

Since docker caches layers when building an image, not including an apt update
may result in error, since packages file will not be up to date.
This is also documented in official docker documentation:
https://docs.docker.com/build/building/best-practices/#apt-get

This issue was first reported on:
https://lore.kernel.org/qemu-devel/[email protected]/

Pierrick Bouvier (4):
  tests/lcitool/refresh: use raw string literal for trailers
  tests/docker/dockerfiles/ubuntu2404.docker: add missing apt update
  tests/docker/dockerfiles/debian.docker: add missing apt update
  tests/docker/dockerfiles/debian-all-test-cross.docker: add missing apt
    update

 .../dockerfiles/debian-all-test-cross.docker  |   4 +-
 tests/docker/dockerfiles/debian.docker        |   3 +-
 tests/docker/dockerfiles/ubuntu2404.docker    |   3 +-
 tests/lcitool/refresh                         | 213 +++++++++---------
 4 files changed, 116 insertions(+), 107 deletions(-)

-- 
2.47.3


Reply via email to