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