public inbox for igt-dev@lists.freedesktop.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] Dockerfile: Avoid touching external resources
@ 2019-08-30  8:29 Arkadiusz Hiler
  2019-08-30  9:08 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Arkadiusz Hiler @ 2019-08-30  8:29 UTC (permalink / raw)
  To: igt-dev; +Cc: Petri Latvala

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 <oleg.vasilev@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-31  1:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-30  8:29 [igt-dev] [PATCH i-g-t] Dockerfile: Avoid touching external resources Arkadiusz Hiler
2019-08-30  9:08 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-08-30  9:21 ` [igt-dev] [PATCH i-g-t] " Petri Latvala
2019-08-31  1:55 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox