anchor.diff:  #ENV OPENCVSHARP_VERSION=4.0.0.20181130
   #ENV DOTNETCORE_SDK=2.1.104
   
  -RUN apt update && apt install -y apt-transport-https software-properties-common \
  -wget unzip curl nano git bzip2 ca-certificates grep sed dpkg #libicu57
  +RUN apt update && apt install -y \
  +    apt-transport-https \
  +    software-properties-common \
  +    wget \
  +    unzip \
  +    curl \
  +    ca-certificates
  +    #bzip2 \
  +    #grep sed dpkg 
   
   # Install opencv dependencies
   RUN cd ~
  -RUN apt update && apt install -y build-essential cmake git gfortran libjpeg8-dev libpng-dev software-properties-common
  -RUN add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" && apt update && apt install -y libjasper1 libtiff-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libxine2-dev libv4l-dev
  +RUN apt update && apt install -y \
  +    build-essential \
  +    cmake \
  +    git \
  +    gfortran \
  +    libjpeg8-dev \
  +    libpng-dev \
  +    software-properties-common
  +RUN add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" && apt update && apt install -y \
  +    libjasper1 \
  +    libtiff-dev \
  +    libavcodec-dev \
  +    libavformat-dev \
  +    libswscale-dev \
  +    libdc1394-22-dev \
  +    libxine2-dev \
  +    libv4l-dev
   
   RUN cd /usr/include/linux
   RUN ln -s -f ../libv4l1-videodev.h videodev.h
   RUN cd ~
  -RUN apt install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk2.0-dev libtbb-dev qt5-default libatlas-base-dev libfaac-dev libmp3lame-dev libtheora-dev libvorbis-dev libxvidcore-dev libopencore-amrnb-dev libopencore-amrwb-dev libavresample-dev x264 v4l-utils
  +RUN apt install -y \
  +    libgstreamer1.0-dev \
  +    libgstreamer-plugins-base1.0-dev \
  +    libgtk2.0-dev libtbb-dev qt5-default \
  +    libatlas-base-dev \
  +    libfaac-dev \
  +    libmp3lame-dev \
  +    libtheora-dev \
  +    libvorbis-dev \
  +    libxvidcore-dev \
  +    libopencore-amrnb-dev \
  +    libopencore-amrwb-dev \
  +    libavresample-dev \
  +    x264 \
  +    v4l-utils
   
  -
  -# Setup OpenCV Source
  -RUN wget https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip && unzip ${OPENCV_VERSION}.zip && rm ${OPENCV_VERSION}.zip && mv opencv-${OPENCV_VERSION} OpenCV
  +# Setup OpenCV source
  +RUN wget https://github.com/opencv/opencv/archive/${OPENCV_VERSION}.zip && \
  +    unzip ${OPENCV_VERSION}.zip && \
  +    rm ${OPENCV_VERSION}.zip && \
  +    mv opencv-${OPENCV_VERSION} opencv
   
   # Setup opencv-contrib Source
  -RUN wget https://github.com/opencv/opencv_contrib/archive/${OPENCV_VERSION}.zip && unzip ${OPENCV_VERSION}.zip && rm ${OPENCV_VERSION}.zip && mv opencv_contrib-${OPENCV_VERSION} OpenCV_contrib
  +RUN wget https://github.com/opencv/opencv_contrib/archive/${OPENCV_VERSION}.zip && \
  +    unzip ${OPENCV_VERSION}.zip && \
  +    rm ${OPENCV_VERSION}.zip && \
  +    mv opencv_contrib-${OPENCV_VERSION} opencv_contrib
   
   # Build OpenCV
  -RUN cd OpenCV && mkdir build && cd build && \
  -cmake \
  --D OPENCV_EXTRA_MODULES_PATH=/OpenCV_contrib/modules \
  --D CMAKE_BUILD_TYPE=RELEASE \
  --D BUILD_EXAMPLES=OFF \
  --D BUILD_DOCS=OFF \
  --D BUILD_PERF_TESTS=OFF \
  --D BUILD_TESTS=OFF \
  --D BUILD_opencv_java=OFF \
  --D BUILD_opencv_python=OFF \
  -.. && make -j4 && make install && ldconfig
  +RUN cd opencv && mkdir build && cd build && \
  +    cmake \
  +    -D OPENCV_EXTRA_MODULES_PATH=/opencv_contrib/modules \
  +    -D CMAKE_BUILD_TYPE=RELEASE \
  +    -D BUILD_EXAMPLES=OFF \
  +    -D BUILD_DOCS=OFF \
  +    -D BUILD_PERF_TESTS=OFF \
  +    -D BUILD_TESTS=OFF \
  +    -D BUILD_opencv_java=OFF \
  +    -D BUILD_opencv_python=OFF \
  +    .. && make -j4 && make install && ldconfig
   
   WORKDIR /
   
  
positive.code: 
  FROM microsoft/dotnet:2.1-sdk AS build-dotnet-env
  COPY --from=build-native-env /opencvsharp/make/OpenCvSharpExtern/libOpenCvSharpExtern.so ./
  RUN pwd
  RUN ls
  
  
negative.code: # Install the Extern lib.
  WORKDIR /opencvsharp/src
  RUN mkdir /opencvsharp/make
  RUN cd /opencvsharp/make && cmake -D CMAKE_INSTALL_PREFIX=/opencvsharp/make /opencvsharp/src && make -j4 && make install
  RUN ls /opencvsharp/make
  
  
  