tests/tools/Docker/Dockerfile
branchwxPython4
changeset 3696 ea30051326e9
parent 3693 4058140a8757
child 3697 12b6add87876
equal deleted inserted replaced
3695:a89ebe406e35 3696:ea30051326e9
    67         pytest pytest-timeout ddt \
    67         pytest pytest-timeout ddt \
    68         lxml future matplotlib zeroconf2 enum34 pyro sslpsk posix_spawn \
    68         lxml future matplotlib zeroconf2 enum34 pyro sslpsk posix_spawn \
    69         twisted nevow autobahn click opcua \
    69         twisted nevow autobahn click opcua \
    70         wxPython==4.1.1
    70         wxPython==4.1.1
    71 
    71 
    72 # Point to python binary test scripts will use
    72 RUN set -xe && \
       
    73     cd  /home/$UNAME && mkdir tessdata && \
       
    74     wget -q https://github.com/tesseract-ocr/tessdata/archive/refs/tags/4.1.0.tar.gz \
       
    75          -O tessdata.tar.gz && \
       
    76     echo 89e25c7c40a59be7195422a01f57fcb2 tessdata.tar.gz | md5sum -c && \
       
    77     tar --strip-components=1 -C tessdata -x -v -z -f tessdata.tar.gz && \
       
    78     rm tessdata.tar.gz
       
    79 
       
    80 ENV TESSDATAPATH /home/$UNAME/tessdata
       
    81 
       
    82 # Points to python binary that test will use
    73 ENV BEREMIZPYTHONPATH /home/$UNAME/beremizenv/bin/python
    83 ENV BEREMIZPYTHONPATH /home/$UNAME/beremizenv/bin/python
    74 
    84 
    75 # easy to remember 'do_tests' alias to invoke main makefile
    85 # easy to remember 'do_tests' alias to invoke main makefile
    76 ARG OWNDIRBASENAME=beremiz
    86 ARG OWNDIRBASENAME=beremiz
    77 ENV OWNDIRBASENAME ${OWNDIRBASENAME}
    87 ENV OWNDIRBASENAME ${OWNDIRBASENAME}