From 72219851701dd0c854c8c293ee4ab58fb60e0c57 Mon Sep 17 00:00:00 2001 From: Oleg Vasilev Date: Wed, 28 Aug 2019 15:48:41 +0300 Subject: gitlab-ci: introduce containers with IGT inside Currently, the containers are used only to build IGT. We also want to have an option to run IGT inside a container. For this, new build stage is added. v2: help touch-ups (Arek) Reviewed-by: Arkadiusz Hiler Signed-off-by: Oleg Vasilev --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..b601aecd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,14 @@ +# 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 + +ENV PATH="/opt/igt/bin:${PATH}" +ENV LD_LIBRARY_PATH="/opt/igt/lib:/opt/igt/lib64:${LD_LIBRARY_PATH}" +ENV IGT_TEST_ROOT="/opt/igt/libexec/igt-gpu-tools" + +CMD docker-help.sh -- cgit v1.2.3