From 522bab4503db480dddd1985c9976bc0a6e6da986 Mon Sep 17 00:00:00 2001 From: Arkadiusz Hiler Date: Fri, 30 Aug 2019 11:29:13 +0300 Subject: Dockerfile: Avoid touching external resources 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 Cc: Petri Latvala Signed-off-by: Arkadiusz Hiler Reviewed-by: Petri Latvala --- Dockerfile | 3 --- 1 file changed, 3 deletions(-) (limited to 'Dockerfile') 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 -- cgit v1.2.3