20 lines
614 B
Plaintext
20 lines
614 B
Plaintext
ARG BASE_IMAGE=m1k1o/neko:base
|
|
FROM $BASE_IMAGE
|
|
|
|
#
|
|
# install neko chromium
|
|
RUN set -eux; apt-get update; \
|
|
apt-get install -y --no-install-recommends unzip chromium-browser openbox libwidevinecdm0; \
|
|
#
|
|
# clean up
|
|
apt-get --purge autoremove -y unzip; \
|
|
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
|