From 75aaf134d2f656272f2d22edd2b47185a489d95b Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Thu, 30 Sep 2021 13:11:48 +0200 Subject: [PATCH] CI: fix phash install prefix in base dockerfile --- build_scripts/GitlabCI/base.Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_scripts/GitlabCI/base.Dockerfile b/build_scripts/GitlabCI/base.Dockerfile index f1ad9c5a2..b65ed1776 100644 --- a/build_scripts/GitlabCI/base.Dockerfile +++ b/build_scripts/GitlabCI/base.Dockerfile @@ -25,7 +25,8 @@ RUN apt-get update -y && apt-get upgrade -y -qq && \ RUN git clone --depth 1 https://github.com/aetilius/pHash.git && \ rm -rf pHash-build && mkdir pHash-build && cd pHash-build && \ - cmake -B. -H../pHash && make -j$(nproc) && make install && cd .. && \ + cmake -B. -H../pHash -DCMAKE_INSTALL_PREFIX=/usr && \ + make -j$(nproc) && make install && cd .. && \ rm -rf pHash-build pHash ARG FRESHCLONE=0