CI: fix phash install prefix in base dockerfile

This commit is contained in:
Gioacchino Mazzurco 2021-09-30 13:11:48 +02:00
parent a2a55b06ce
commit 75aaf134d2
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -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