qemu-patch-raspberry4/tests/docker
Philippe Mathieu-Daudé beac6a98f6 docker: ubuntu: Update the package list before installing new ones
Since docker caches the different layers, updating the package
list does not invalidate the previous "apt-get update" layer,
and it is likely "apt-get install" hits an outdated repository.

See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get

This fixes:

  $ make docker-image-ubuntu V=1
  ./tests/docker/docker.py build qemu:ubuntu tests/docker/dockerfiles/ubuntu.docker   --add-current-user
  Sending build context to Docker daemon  3.072kB
  [...]
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgles2-mesa_17.0.7-0ubuntu0.16.04.2_amd64.deb  404  Not Found
  E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mesa/libgles2-mesa-dev_17.0.7-0ubuntu0.16.04.2_amd64.deb  404  Not Found
  E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
  The command '/bin/sh -c apt-get -y install $PACKAGES' returned a non-zero code: 100
  tests/docker/Makefile.include:40: recipe for target 'docker-image-ubuntu' failed
  make: *** [docker-image-ubuntu] Error 1

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
2018-07-05 15:59:41 +01:00
..
dockerfiles docker: ubuntu: Update the package list before installing new ones 2018-07-05 15:59:41 +01:00
common.rc docker: dump 'config.log' if ./configure fails 2018-04-09 15:13:02 +08:00
docker.py docker: docker.py adding age check command 2018-06-20 22:13:39 +01:00
Makefile.include tests/docker/Makefile.include: only force SID to NOCACHE if old 2018-06-20 22:13:39 +01:00
run docker: Inline "prep_fail" in run script 2018-04-09 15:13:02 +08:00
test-block docker: test-block: Don't continue if build fails 2017-09-29 11:14:15 +08:00
test-build docker: add installation to build tests 2017-09-29 11:14:14 +08:00
test-clang tests/docker: add test-debug 2018-01-12 13:22:02 +01:00
test-debug tests: make docker-test-debug@fedora run sanitizers 2018-03-13 01:19:56 +08:00
test-full Revert "docker: Enable features explicitly in test-full" 2017-12-20 22:01:23 +08:00
test-mingw docker: test-mingw: use SDL2 and GTK+3 2018-06-05 16:25:42 +01:00
test-quick docker: add installation to build tests 2017-09-29 11:14:14 +08:00
travis docker: Add travis tool 2016-06-01 17:27:35 +08:00
travis.py python: futurize -f libfuturize.fixes.fix_print_with_import 2018-06-08 14:39:24 -03:00