[igt-dev] [PATCH i-g-t] Dockerfile: Avoid touching external resources
From: Arkadiusz Hiler <hidden>
Date: 2019-08-30 08:29:41
Subsystem:
the rest · Maintainer:
Linus Torvalds
Let's install all the necessary things in the build-* images, so we don't touch/hammer external servers each time there is a small change in IGT. We have already seen this failing: Error: Error downloading packages: Status code: 503 for https://mirrors.fedoraproject.org/metalink?repo=fedora-30&arch=x86_64 The command '/bin/sh -c dnf install -y findutils && dnf clean all' returned a non-zero code: 1 Cc: Oleg Vasilev <redacted> Cc: Petri Latvala <redacted> Signed-off-by: Arkadiusz Hiler <redacted> --- Dockerfile | 3 --- Dockerfile.build-fedora | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Dockerfile b/Dockerfile
index b601aecd..7ea266d3 100644
--- a/Dockerfile
+++ b/Dockerfile@@ -1,9 +1,6 @@ # Version number to bump for force image rebuild: 0 FROM build-fedora -RUN dnf install -y findutils && \ - dnf clean all - COPY opt-igt /opt/igt COPY .gitlab-ci/docker-help.sh /usr/local/bin/docker-help.sh
diff --git a/Dockerfile.build-fedora b/Dockerfile.build-fedora
index fa27a623..4ccaadd1 100644
--- a/Dockerfile.build-fedora
+++ b/Dockerfile.build-fedora@@ -37,6 +37,9 @@ RUN rm -fr /tmp/peg # For compile-testing on clang RUN dnf install -y clang +# For the helpers for the container with IGT inside +RUN dnf install -y findutils + # Meson version switching shenanigans WORKDIR /usr/src RUN curl -O https://files.pythonhosted.org/packages/c0/9b/44cdb8adcbb186be6cba5c93718d0c68f177b0e8082ae00cafa63a1d3535/meson-0.47.0.tar.gz
--
2.21.0
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev