Docker Community Forums

Share and learn in the Docker community.

Dockerfile error non-zero code 100 /bin/sh

i’m a newbie of the docker world and I don’t really know if this is the correct section.
I have installed docker on a Raspberry with Raspbian OS. The docker version is:

Docker version 18.09.0, build 4d60db4

I have also found this Dockerfile:

    FROM raspbian/stretch

ARG INSTALL_DIR="/opt/intel/inference_engine_vpu_arm"

COPY sources.list /etc/apt/sources.list

RUN apt-get -y update \
    && DEBIAN_FRONTEND=noninteractive && apt-get -y --allow-unauthenticated upgrade && apt-get autoremove && \
    apt-get install -y --allow-unauthenticated \
	apt-transport-https \
        build-essential \
	cmake \
        cpio \
        lsb-release \
        pciutils \
        python3.5 \
        python3.5-dev \
        python3-pip \
        python3-setuptools \
	ffmpeg \
	libjpeg-dev \
        libtiff5-dev \
        libjasper-dev \
        libpng12-dev \
        libavcodec-dev \
        libavformat-dev \
        libswscale-dev \
        libv4l-dev \
        libxvidcore-dev \
        libx264-dev \
        libgtk2.0-dev \
        libgtk-3-dev \
        libatlas-base-dev \
        gfortran \
        libgstreamer1.0-0 \

RUN usermod -a -G users "$(whoami)"

COPY inference_engine_vpu_arm $INSTALL_DIR 

    echo "source $INSTALL_DIR/bin/" >> $HOME/.bashrc

RUN ["/bin/bash", "-c", "source $INSTALL_DIR/bin/ && /bin/bash $INSTALL_DIR/install_dependencies/"]

RUN pip3 install numpy

RUN apt autoremove -y && \
    rm -rf  /var/lib/apt/lists/*

CMD ["/bin/bash"]

That should create an image of a system with OpenVino installed. If you don’t know Openvino, you can find some info here:

When I try to build the image, when the system do the first RUN command, I have this error:

E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c apt-get -y update..... returned a non-zero code: 100

I think that the problem is related to some command in dockerfile and not related to OpenVino itself.
Do you have any idea?