equal
deleted
inserted
replaced
57 ( echo '#!/bin/sh' && \ |
57 ( echo '#!/bin/sh' && \ |
58 echo "exec java -jar /usr/local/bin/sikulixide-*.jar \"\$@\"" \ |
58 echo "exec java -jar /usr/local/bin/sikulixide-*.jar \"\$@\"" \ |
59 ) | install /dev/stdin /usr/local/bin/sikulix |
59 ) | install /dev/stdin /usr/local/bin/sikulix |
60 |
60 |
61 |
61 |
|
62 ### SVGHMI dependencies : Chromium browser + Inkscape ### |
|
63 # |
|
64 # On ubuntu chromium is distrinuted as a snap. |
|
65 # Running snapd on docker is a mess. |
|
66 # As a workaround, there is a PPA where chromium .deb packges build is still beeing maintained : |
|
67 # |
|
68 # https://launchpad.net/~savoury1/+archive/ubuntu/chromium |
|
69 # ppa:savoury1, maintained by Rob Savoury at the time of writing |
|
70 # |
|
71 # As a side effect of docker limitations, chromium need --no-sandbox command line argument. |
|
72 # |
|
73 RUN apt-get install -qqy --no-install-recommends gnupg software-properties-common \ |
|
74 && add-apt-repository -y ppa:savoury1/chromium \ |
|
75 && add-apt-repository -y ppa:savoury1/ffmpeg4 \ |
|
76 && apt-get install -qqy --no-install-recommends chromium-browser inkscape |
|
77 |
62 # easy to remember 'do_tests' alias to invoke main makefile |
78 # easy to remember 'do_tests' alias to invoke main makefile |
63 RUN env echo -e '#!/bin/bash\nmake -f /home/testing/src/beremiz/tests/Makefile $*' > /usr/local/bin/do_tests |
79 RUN env echo -e '#!/bin/bash\nmake -f /home/testing/src/beremiz/tests/Makefile $*' > /usr/local/bin/do_tests |
64 RUN chmod +x /usr/local/bin/do_tests |
80 RUN chmod +x /usr/local/bin/do_tests |
65 |
81 |
66 USER $UNAME |
82 USER $UNAME |