2021-04-04 00:50:54 +13:00
|
|
|
ARG BASE_IMAGE=m1k1o/neko:arm-base
|
2021-04-04 00:10:42 +13:00
|
|
|
FROM $BASE_IMAGE
|
|
|
|
|
|
|
|
#
|
|
|
|
# install neko chromium
|
|
|
|
RUN set -eux; apt-get update; \
|
2023-01-16 08:38:29 +13:00
|
|
|
# TODO: Bring back DRM support.
|
2021-10-03 22:14:58 +13:00
|
|
|
apt-get install -y --no-install-recommends chromium openbox; \
|
2021-04-04 00:10:42 +13: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
|