2020-04-22 07:59:28 +12:00
|
|
|
FROM nurdism/neko:openbox
|
2020-01-30 20:19:57 +13:00
|
|
|
|
2020-01-31 13:42:05 +13:00
|
|
|
#
|
2020-01-30 20:19:57 +13:00
|
|
|
# install neko chromium
|
|
|
|
RUN set -eux; apt-get update; \
|
|
|
|
apt-get install -y --no-install-recommends unzip chromium; \
|
|
|
|
#
|
|
|
|
# install widevine module
|
|
|
|
WIDEVINE_VERSION=$(wget --quiet -O - https://dl.google.com/widevine-cdm/versions.txt | tail -n 1); \
|
2020-01-31 13:42:05 +13:00
|
|
|
wget -O /tmp/widevine.zip "https://dl.google.com/widevine-cdm/$WIDEVINE_VERSION-linux-x64.zip"; \
|
2020-01-30 20:19:57 +13:00
|
|
|
unzip -p /tmp/widevine.zip libwidevinecdm.so > /usr/lib/chromium/libwidevinecdm.so; \
|
|
|
|
chmod 644 /usr/lib/chromium/libwidevinecdm.so; \
|
|
|
|
rm /tmp/widevine.zip; \
|
|
|
|
#
|
|
|
|
# clean up
|
|
|
|
apt-get --purge autoremove -y unzip; \
|
|
|
|
apt-get clean -y; \
|
|
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
|
|
|
#
|
|
|
|
# copy configuation files
|
2020-04-19 08:56:13 +12:00
|
|
|
COPY .docker/files/chromium/supervisord.conf /etc/neko/supervisord/chromium.conf
|
|
|
|
COPY .docker/files/chromium/preferences.json /usr/share/chromium/master_preferences
|
2020-04-22 07:59:28 +12:00
|
|
|
COPY .docker/files/chromium/policies.json /etc/chromium/policies/managed/policies.json
|
|
|
|
COPY .docker/files/chromium/openbox.xml /etc/neko/openbox.xml
|