equal
deleted
inserted
replaced
46 ( echo '#!/bin/sh' && \ |
46 ( echo '#!/bin/sh' && \ |
47 echo "exec java -jar /usr/local/bin/sikulixide-*.jar \"\$@\"" \ |
47 echo "exec java -jar /usr/local/bin/sikulixide-*.jar \"\$@\"" \ |
48 ) | install /dev/stdin /usr/local/bin/sikulix |
48 ) | install /dev/stdin /usr/local/bin/sikulix |
49 |
49 |
50 |
50 |
51 RUN echo -e '#!/bin/bash\nmake -f /home/testing/src/beremiz/tests/Makefile $*' > /usr/local/bin/do_tests |
51 RUN env echo -e '#!/bin/bash\nmake -f /home/testing/src/beremiz/tests/Makefile $*' > /usr/local/bin/do_tests |
52 RUN chmod +x /usr/local/bin/do_tests |
52 RUN chmod +x /usr/local/bin/do_tests |
53 |
53 |
54 USER $UNAME |
54 USER $UNAME |
55 |
55 |
56 RUN mkdir /home/$UNAME/build /home/$UNAME/src /home/$UNAME/test |
56 RUN mkdir /home/$UNAME/build /home/$UNAME/src /home/$UNAME/test |
58 RUN virtualenv --python=$(which python2) ~/beremizenv |
58 RUN virtualenv --python=$(which python2) ~/beremizenv |
59 |
59 |
60 RUN ~/beremizenv/bin/pip install \ |
60 RUN ~/beremizenv/bin/pip install \ |
61 pytest pytest-timeout ddt \ |
61 pytest pytest-timeout ddt \ |
62 lxml future matplotlib zeroconf2 enum34 pyro sslpsk posix_spawn \ |
62 lxml future matplotlib zeroconf2 enum34 pyro sslpsk posix_spawn \ |
63 twisted nevow autobahn \ |
63 twisted nevow autobahn click\ |
64 wxPython==4.1.1 |
64 wxPython==4.1.1 |
65 |
65 |
66 # Point to python binary test scripts will use |
66 # Point to python binary test scripts will use |
67 ENV BEREMIZPYTHONPATH /home/$UNAME/beremizenv/bin/python |
67 ENV BEREMIZPYTHONPATH /home/$UNAME/beremizenv/bin/python |
68 |
68 |