I am trying to compile openalpr via a dockerfile that will solve python bindings issues but I am having trouble. I know that a dockerfile exists in dockerhub.
But I am looking to resolve python binding issues. Using the documentation on python bindings from:
So I have resolved to attempt to start by compiling a docker container based off the easy instructions as detailed. Below is my attempt:
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y
RUN git clone https://github.com/openalpr/openalpr.git
Setup the build directory
RUN cd openalpr/src
RUN mkdir build
RUN cd build
setup the compile environment
RUN cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc …
compile the library
Install the binaries/libraries to your local system (prefix is /usr)
RUN sudo make install
However I am getting the following error:
Step 7/9 : RUN cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc …
- —> Running in 9612d048942f*
CMake Error: The source directory “/” does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Any ideas how I might go about fixing this?