beac6a98f6
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> |
||
---|---|---|
.. | ||
centos7.docker | ||
debian8-mxe.docker | ||
debian8.docker | ||
debian9.docker | ||
debian-alpha-cross.docker | ||
debian-amd64.docker | ||
debian-arm64-cross.docker | ||
debian-armel-cross.docker | ||
debian-armhf-cross.docker | ||
debian-bootstrap.docker | ||
debian-bootstrap.pre | ||
debian-hppa-cross.docker | ||
debian-m68k-cross.docker | ||
debian-mips64-cross.docker | ||
debian-mips64el-cross.docker | ||
debian-mips-cross.docker | ||
debian-mipsel-cross.docker | ||
debian-ports.docker | ||
debian-powerpc-cross.docker | ||
debian-ppc64el-cross.docker | ||
debian-riscv64-cross.docker | ||
debian-s390x-cross.docker | ||
debian-sh4-cross.docker | ||
debian-sid.docker | ||
debian-sparc64-cross.docker | ||
debian-tricore-cross.docker | ||
debian-win32-cross.docker | ||
debian-win64-cross.docker | ||
debian.docker | ||
fedora-i386-cross.docker | ||
fedora.docker | ||
travis.docker | ||
ubuntu.docker |