20 RUN set -xe \ |
20 RUN set -xe \ |
21 && apt-get update \ |
21 && apt-get update \ |
22 && TZ="America/Paris" \ |
22 && TZ="America/Paris" \ |
23 DEBIAN_FRONTEND="noninteractive" \ |
23 DEBIAN_FRONTEND="noninteractive" \ |
24 apt-get install -y --no-install-recommends \ |
24 apt-get install -y --no-install-recommends \ |
25 `# run sikuli` \ |
25 `# to run sikuli` \ |
26 wget \ |
26 wget \ |
27 libopencv4.2-java \ |
27 libopencv4.2-java \ |
28 openjdk-11-jre \ |
28 openjdk-11-jre \ |
29 \ |
29 \ |
30 `# run X based tests` \ |
30 `# to run X based tests` \ |
31 fluxbox \ |
31 fluxbox \ |
32 wmctrl xdotool xvfb \ |
32 wmctrl xdotool xvfb \ |
33 x11vnc xterm xnest \ |
33 x11vnc xterm xnest \ |
|
34 materia-gtk-theme \ |
34 \ |
35 \ |
35 `# to build tested apps` \ |
36 `# to build tested apps` \ |
36 build-essential automake flex bison mercurial \ |
37 build-essential automake flex bison mercurial \ |
37 libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev \ |
38 libgtk-3-dev libgl1-mesa-dev libglu1-mesa-dev \ |
38 libpython2.7-dev libssl-dev \ |
39 libpython2.7-dev libssl-dev \ |
39 python2 virtualenv cmake |
40 python2 virtualenv cmake |
|
41 |
|
42 |
|
43 # force bigger font and flat theme for GTK in order to make OCR more reliable |
|
44 RUN mkdir -p /etc/gtk-3.0 |
|
45 RUN env echo -e '[Settings]\ngtk-font-name=FreeSans,12\ngtk-theme-name=Materia\n' > /etc/gtk-3.0/settings.ini |
40 |
46 |
41 # link obtained from https://raiman.github.io/SikuliX1/downloads.html |
47 # link obtained from https://raiman.github.io/SikuliX1/downloads.html |
42 RUN set -xe && \ |
48 RUN set -xe && \ |
43 wget -qP /usr/local/bin \ |
49 wget -qP /usr/local/bin \ |
44 https://launchpad.net/sikuli/sikulix/2.0.5/+download/sikulixide-2.0.5.jar && \ |
50 https://launchpad.net/sikuli/sikulix/2.0.5/+download/sikulixide-2.0.5.jar && \ |