83 |
83 |
84 RUN mkdir /home/$UNAME/build /home/$UNAME/src /home/$UNAME/test |
84 RUN mkdir /home/$UNAME/build /home/$UNAME/src /home/$UNAME/test |
85 |
85 |
86 RUN virtualenv ~/beremizenv |
86 RUN virtualenv ~/beremizenv |
87 |
87 |
88 # wxPython build req |
88 COPY requirements.txt /home/$UNAME |
89 RUN ~/beremizenv/bin/pip install gattrdict |
|
90 |
89 |
91 RUN ~/beremizenv/bin/pip install wxpython |
90 # wxpython build requirements |
|
91 RUN ~/beremizenv/bin/pip install `grep gattrdict /home/$UNAME/requirements.txt` |
92 |
92 |
|
93 # beremiz python requirements |
|
94 RUN ~/beremizenv/bin/pip install -r /home/$UNAME/requirements.txt |
|
95 |
|
96 # tests python requirements |
93 RUN ~/beremizenv/bin/pip install \ |
97 RUN ~/beremizenv/bin/pip install \ |
94 pytest pytest-timeout ddt \ |
98 pytest pytest-timeout ddt |
95 sslpsk posix_spawn \ |
99 |
96 matplotlib lxml \ |
100 #TODO sslpsk posix_spawn |
97 zeroconf \ |
101 |
98 pycountry \ |
|
99 Pyro5 msgpack autobahn click |
|
100 |
|
101 RUN ~/beremizenv/bin/pip install \ |
|
102 git+https://github.com/FreeOpcUa/opcua-asyncio.git@98a64897a2d171653353de2f36d33085aef65e82 \ |
|
103 git+https://github.com/beremiz/nevow-py3.git@nevow-0.14.5.dev1 |
|
104 |
|
105 RUN set -xe && \ |
102 RUN set -xe && \ |
106 cd /home/$UNAME && mkdir tessdata && \ |
103 cd /home/$UNAME && mkdir tessdata && \ |
107 wget -q https://github.com/tesseract-ocr/tessdata/archive/refs/tags/4.1.0.tar.gz \ |
104 wget -q https://github.com/tesseract-ocr/tessdata/archive/refs/tags/4.1.0.tar.gz \ |
108 -O tessdata.tar.gz && \ |
105 -O tessdata.tar.gz && \ |
109 echo 89e25c7c40a59be7195422a01f57fcb2 tessdata.tar.gz | md5sum -c && \ |
106 echo 89e25c7c40a59be7195422a01f57fcb2 tessdata.tar.gz | md5sum -c && \ |