summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-03 11:10:45 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-09-03 18:27:05 +0300
commit697e6ca07d503517996b0a3e385ba5b1ce720346 (patch)
treea60a9d2476be7297dc235d244af3eae0137e296b /Dockerfile
parent72cdaf6aadc16c42651722b8db71efc673da2b06 (diff)
.gitlab-ci: Use true --prefix
We have to use the final location of IGT for --prefix as some of the binaries use that for asset lookup (e.g. register definitions that end up in $PREFIX/share/). To install it under a local directory during the early build steps it's better to use $DESTDIR. Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com> Reviewed-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index 2fe0e340..0341759f 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -2,7 +2,7 @@ ARG CI_COMMIT_SHA
ARG CI_REGISTRY_IMAGE
FROM $CI_REGISTRY_IMAGE/build-fedora:commit-$CI_COMMIT_SHA
-COPY opt-igt /opt/igt
+COPY installdir/opt/igt /opt/igt
COPY .gitlab-ci/docker-help.sh /usr/local/bin/docker-help.sh
ENV PATH="/opt/igt/bin:${PATH}"