deepstream-python icon indicating copy to clipboard operation
deepstream-python copied to clipboard

Can't build docker image

Open angelgaspar opened this issue 1 year ago • 0 comments

Hi, Thanks for your great work. I'm trying to build the docker image but I'm getting the following error:

76.63 /bin/sh: 1: cd: can't cd to 3rdparty/gst-python/
------

 2 warnings found (use docker --debug to expand):
 - LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line 4)
 - JSONArgsRecommended: JSON arguments recommended for CMD to prevent unintended behavior related to OS signals (line 40)
Dockerfile:16
--------------------
  15 |         libglib2.0-dev-bin libgstreamer1.0-dev libtool m4 autoconf automake libgirepository1.0-dev libcairo2-dev -y
  16 | >>> RUN cd /opt/nvidia/deepstream/deepstream/sources/ \
  17 | >>>     && git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git \
  18 | >>>     && cd deepstream_python_apps \
  19 | >>>     && git submodule update --init \
  20 | >>>     && apt-get install -y apt-transport-https ca-certificates -y \
  21 | >>>     && update-ca-certificates \
  22 | >>>     && cd 3rdparty/gst-python/ \
  23 | >>>     && ./autogen.sh \
  24 | >>>     && make \
  25 | >>>     && make install \
  26 | >>>     && cd ../../bindings \
  27 | >>>     && mkdir build \
  28 | >>>     && cd build \
  29 | >>>     && cmake .. \
  30 | >>>     && make \
  31 | >>>     && pip3 install ./pyds-*.whl
  32 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cd /opt/nvidia/deepstream/deepstream/sources/     && git clone https://github.com/NVIDIA-AI-IOT/deepstream_python_apps.git     && cd deepstream_python_apps     && git submodule update --init     && apt-get install -y apt-transport-https ca-certificates -y     && update-ca-certificates     && cd 3rdparty/gst-python/     && ./autogen.sh     && make     && make install     && cd ../../bindings     && mkdir build     && cd build     && cmake ..     && make     && pip3 install ./pyds-*.whl" did not complete successfully: exit code: 2

angelgaspar avatar Nov 22 '24 17:11 angelgaspar