From 9cf824c5ea7a25e573441b5266998600aa2ab7b6 Mon Sep 17 00:00:00 2001 From: mbattista Date: Thu, 1 Apr 2021 13:46:17 +0100 Subject: [PATCH] some chromium tests --- .m1k1o/build | 6 +- .m1k1o/chromium_arm/Dockerfile | 15 + .m1k1o/chromium_arm/openbox.xml | 763 +++++++++++++++++++++++++++ .m1k1o/chromium_arm/supervisord.conf | 21 + 4 files changed, 802 insertions(+), 3 deletions(-) create mode 100644 .m1k1o/chromium_arm/Dockerfile create mode 100644 .m1k1o/chromium_arm/openbox.xml create mode 100644 .m1k1o/chromium_arm/supervisord.conf diff --git a/.m1k1o/build b/.m1k1o/build index 67410de..89ed410 100755 --- a/.m1k1o/build +++ b/.m1k1o/build @@ -28,8 +28,8 @@ build_base_arm() { docker build -t "${IMAGE}:base_arm" -f base_arm/Dockerfile "${BASE}" } -build_firefox_arm() { - docker build -t "${IMAGE}:firefox_arm" -f firefox/Dockerfile --build-arg BASE_IMAGE="${IMAGE}:base_arm" firefox +build_chromium_arm() { + docker build -t "${IMAGE}:chromium_arm" -f chromium_arm/Dockerfile chromium_arm } build() { @@ -41,7 +41,7 @@ case $1 in server) build_server;; base) build_base;; base_arm) build_base_arm;; - firefox_arm) build_firefox_arm;; + chromium_arm) build_chromium_arm;; *) build "$1";; esac diff --git a/.m1k1o/chromium_arm/Dockerfile b/.m1k1o/chromium_arm/Dockerfile new file mode 100644 index 0000000..4611521 --- /dev/null +++ b/.m1k1o/chromium_arm/Dockerfile @@ -0,0 +1,15 @@ +FROM m1k1o/neko:base_arm + +# +# install firefox-esr +RUN set -eux; apt-get update; \ + apt-get install -y --no-install-recommends openbox chromium-browser; \ + # + # clean up + apt-get clean -y; \ + rm -rf /var/lib/apt/lists/* /var/cache/apt/* + +# +# copy configuation files +COPY supervisord.conf /etc/neko/supervisord/firefox.conf +COPY openbox.xml /etc/neko/openbox.xml diff --git a/.m1k1o/chromium_arm/openbox.xml b/.m1k1o/chromium_arm/openbox.xml new file mode 100644 index 0000000..0e73a07 --- /dev/null +++ b/.m1k1o/chromium_arm/openbox.xml @@ -0,0 +1,763 @@ + + + + + + + + 10 + 20 + + + + + + no + true + yes + normal + + + + + yes + + no + + yes + + no + + 200 + + no + + + + + Smart + +
yes
+ + Primary + + 1 + +
+ + + Clearlooks + NLIMC + + yes + yes + + sans + 8 + + bold + + normal + + + + sans + 8 + + bold + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + normal + + normal + + + + sans + 9 + + bold + + normal + + + + sans + 9 + + bold + + normal + + + + + + + 1 + 1 + + + + 875 + + + + + yes + Nonpixel + + Center + + + + + 10 + + 10 + + + + + + + 0 + 0 + 0 + 0 + + + + TopLeft + + 0 + 0 + no + Above + + Vertical + + no + 300 + + 300 + + Middle + + + + + C-g + + + + leftno + + + rightno + + + upno + + + downno + + + leftno + + + rightno + + + upno + + + downno + + + 1 + + + 2 + + + 3 + + + 4 + + + + + + + + + + + + + + + + + + + + scrot -s + + + + + + + + + + + + + + + + + + + + + + + + yesyes + + + + + + + + + + + + right + + + + + left + + + + + up + + + + + down + + + + + + + + true + Konqueror + + kfmclient openProfile filemanagement + + + + + scrot + + + + + 1 + + 500 + + 400 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + previous + + + next + + + previous + + + next + + + previous + + + next + + + + + + + + + + + + + + no + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + top + + + + + + left + + + + + + right + + + + + + bottom + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vertical + + + horizontal + + + + + + + + + + + + + + + + + previous + + + next + + + + previous + + + next + + + previous + + + next + + + + + + + + + + + + + + + + + + + + previous + + + next + + + previous + + + next + + + + + + + + + + + menu.xml + 200 + + no + + 100 + + 400 + + yes + + yes + + + + + + + +
diff --git a/.m1k1o/chromium_arm/supervisord.conf b/.m1k1o/chromium_arm/supervisord.conf new file mode 100644 index 0000000..0ba73bc --- /dev/null +++ b/.m1k1o/chromium_arm/supervisord.conf @@ -0,0 +1,21 @@ +[program:firefox-esr] +environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" +command=/usr/bin/chromium-browser --window-position=0,0 --display=%(ENV_DISPLAY)s --start-maximized --bwsi --test-type --force-dark-mode --disable-file-system --disable-software-rasterizer +autorestart=true +priority=800 +user=%(ENV_USER)s +stdout_logfile=/var/log/neko/chromium-arm.log +stdout_logfile_maxbytes=100MB +stdout_logfile_backups=10 +redirect_stderr=true + +[program:openbox] +environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" +command=/usr/bin/openbox --config-file /etc/neko/openbox.xml +autorestart=true +priority=300 +user=%(ENV_USER)s +stdout_logfile=/var/log/neko/openbox.log +stdout_logfile_maxbytes=100MB +stdout_logfile_backups=10 +redirect_stderr=true