|
|
@ -3,7 +3,7 @@ |
|
|
|
cd / |
|
|
|
mkdir /opencv \ |
|
|
|
&& mv /home/${USER1}/${NODEPROJECT}/dlib-master.zip /dlib.zip \ |
|
|
|
&& mv /home/${USER1}/${NODEPROJECT}/opencv.zip /home/${USER1}/${NODEPROJECT}/opencv_contrib.zip /opencv \ |
|
|
|
&& mv /home/${USER1}/${NODEPROJECT}/opencv-4.x.zip /home/${USER1}/${NODEPROJECT}/opencv_contrib.zip /opencv \ |
|
|
|
&& cd /opencv \ |
|
|
|
&& unzip -qq opencv.zip \ |
|
|
|
&& mv opencv-${OPENCV_VERSION} opencv \ |
|
|
@ -85,6 +85,6 @@ cp /dlib/dlib/*.txt $LIB_PREFIX/include/dlib/ \ |
|
|
|
|
|
|
|
apk del .build-dependencies |
|
|
|
apk add -u --no-cache $RUNTIME_DEPS |
|
|
|
rm -rf /home/${USER1}/${NODEPROJECT}/opencv.zip /home/${USER1}/${NODEPROJECT}/opencv_contrib.zip /home/${USER1}/${NODEPROJECT}/dlib-master.zip |
|
|
|
rm -rf /home/${USER1}/${NODEPROJECT}/opencv-4.x.zip /home/${USER1}/${NODEPROJECT}/opencv_contrib.zip /home/${USER1}/${NODEPROJECT}/dlib-master.zip |
|
|
|
rm -rf /var/cache/apk/* /usr/share/man /usr/local/share/man /tmp/* |
|
|
|
|
|
|
|