|
|
|
@ -47,7 +47,8 @@ RUN apt-get update && \
|
|
|
|
git-core \
|
|
|
|
git-core \
|
|
|
|
libsm6 \
|
|
|
|
libsm6 \
|
|
|
|
libxext6 && \
|
|
|
|
libxext6 && \
|
|
|
|
pip3 install -U setuptools && \
|
|
|
|
python3 -m pip install -U pip && \
|
|
|
|
|
|
|
|
python3 -m pip install -U setuptools && \
|
|
|
|
ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
|
|
|
ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime && \
|
|
|
|
dpkg-reconfigure -f noninteractive tzdata && \
|
|
|
|
dpkg-reconfigure -f noninteractive tzdata && \
|
|
|
|
add-apt-repository --remove ppa:mc3man/gstffmpeg-keep -y && \
|
|
|
|
add-apt-repository --remove ppa:mc3man/gstffmpeg-keep -y && \
|
|
|
|
@ -115,9 +116,9 @@ RUN if [ "$WITH_TESTS" = "yes" ]; then \
|
|
|
|
# Install and initialize CVAT, copy all necessary files
|
|
|
|
# Install and initialize CVAT, copy all necessary files
|
|
|
|
COPY cvat/requirements/ /tmp/requirements/
|
|
|
|
COPY cvat/requirements/ /tmp/requirements/
|
|
|
|
COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
|
|
|
|
COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
|
|
|
|
RUN pip3 install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
|
|
|
|
RUN python3 -m pip install --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
|
|
|
|
# pycocotools package is impossible to install with its dependencies by one pip install command
|
|
|
|
# pycocotools package is impossible to install with its dependencies by one pip install command
|
|
|
|
RUN pip3 install --no-cache-dir pycocotools==2.0.0
|
|
|
|
RUN python3 -m pip install --no-cache-dir pycocotools==2.0.0
|
|
|
|
|
|
|
|
|
|
|
|
# Install git application dependencies
|
|
|
|
# Install git application dependencies
|
|
|
|
RUN apt-get update && \
|
|
|
|
RUN apt-get update && \
|
|
|
|
@ -156,7 +157,7 @@ COPY cvat-core/ ${HOME}/cvat-core
|
|
|
|
COPY tests ${HOME}/tests
|
|
|
|
COPY tests ${HOME}/tests
|
|
|
|
COPY datumaro/ ${HOME}/datumaro
|
|
|
|
COPY datumaro/ ${HOME}/datumaro
|
|
|
|
|
|
|
|
|
|
|
|
RUN sed -r "s/^(.*)#.*$/\1/g" ${HOME}/datumaro/requirements.txt | xargs -n 1 -L 1 pip3 install --no-cache-dir
|
|
|
|
RUN sed -r "s/^(.*)#.*$/\1/g" ${HOME}/datumaro/requirements.txt | xargs -n 1 -L 1 python3 -m pip install --no-cache-dir
|
|
|
|
|
|
|
|
|
|
|
|
# Binary option is necessary to correctly apply the patch on Windows platform.
|
|
|
|
# Binary option is necessary to correctly apply the patch on Windows platform.
|
|
|
|
# https://unix.stackexchange.com/questions/239364/how-to-fix-hunk-1-failed-at-1-different-line-endings-message
|
|
|
|
# https://unix.stackexchange.com/questions/239364/how-to-fix-hunk-1-failed-at-1-different-line-endings-message
|
|
|
|
|