attempting to install pdlib
This commit is contained in:
17
Dockerfile
17
Dockerfile
@ -69,10 +69,19 @@ RUN apt install -y php${PHPVERSION}-imagick imagemagick ffmpeg libreoffice --no
|
||||
|
||||
#Installing Optional PHP module requried for face recogniton
|
||||
#RUN apt install -y php-pdlib --no-install-recommends
|
||||
#RUN apt install libdlib-dev -y \
|
||||
# && apt auto-remove -y \
|
||||
# && apt clean -y
|
||||
|
||||
RUN apt install php${PHPVERSION}-dev libx11-dev libopenblas-dev liblapack-dev make cmake gcc g++ -y \
|
||||
&& git clone https://github.com/davisking/dlib.git \
|
||||
&& cd dlib/dlib && mkdir build && cd build \
|
||||
&& cmake -DBUILD_SHARED_LIBS=ON .. \
|
||||
&& make && make install \
|
||||
&& cd \
|
||||
&& git clone https://github.com/goodspb/pdlib.git \
|
||||
&& cd pdlib \
|
||||
&& phpize && ./configure --enable-debug \
|
||||
&& make && make install \
|
||||
&& apt auto-remove -y \
|
||||
&& apt clean -y \
|
||||
&& rm -v pdlib dlib
|
||||
|
||||
# Delete default stuff
|
||||
RUN rm -rv /var/www/html/index.nginx-debian.html \
|
||||
|
Reference in New Issue
Block a user