2021-04-03 13:50:54 +02:00
|
|
|
ARG BASE_IMAGE=m1k1o/neko:arm-base
|
2021-04-03 12:10:42 +01:00
|
|
|
FROM $BASE_IMAGE
|
|
|
|
|
|
|
|
#
|
|
|
|
# install neko chromium
|
|
|
|
RUN set -eux; apt-get update; \
|
2023-01-15 20:38:29 +01:00
|
|
|
# TODO: Bring back DRM support.
|
2021-10-03 11:14:58 +02:00
|
|
|
apt-get install -y --no-install-recommends chromium openbox; \
|
2021-04-03 12:10:42 +01:00
|
|
|
#
|
|
|
|
# clean up
|
|
|
|
apt-get clean -y; \
|
|
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
|
|
|
#
|
|
|
|
# copy configuation files
|
|
|
|
COPY supervisord.conf /etc/neko/supervisord/chromium.conf
|
|
|
|
COPY --chown=neko preferences.json /home/neko/.config/chromium/Default/Preferences
|
|
|
|
COPY policies.json /etc/chromium/policies/managed/policies.json
|
|
|
|
COPY openbox.xml /etc/neko/openbox.xml
|