11f0385052
Signed-off-by: Aaron <admin@datahoarder.dev>
27 lines
1.2 KiB
Docker
27 lines
1.2 KiB
Docker
FROM m1k1o/neko:base
|
|
|
|
#
|
|
# install custom chromium build from woolyss with support for hevc/x265
|
|
RUN set -eux; apt-get update; \
|
|
apt-get install -y --no-install-recommends libatk1.0-0 libatk-bridge2.0-0 libatomic1 libcups2 libgtk-3-0 libnss3 libpci3 libxcomposite1 libxss1 openbox xz-utils; \
|
|
wget -O - /tmp/chromium.tar.xz "https://github.com/macchrome/linchrome/releases/download/v83.0.4103.116-r756066-portable-ungoogled-Lin64/ungoogled-chromium_83.0.4103.116_1.vaapi_linux.tar.xz" | \
|
|
tar -xJf- -C /usr/lib; \
|
|
mv /usr/lib/ungoogled-chromium_83.0.4103.116_1.vaapi_linux /usr/lib/chromium; \
|
|
#
|
|
# make required changes for sandbox mode
|
|
mv /usr/lib/chromium/chrome_sandbox /usr/lib/chromium/chrome-sandbox; \
|
|
chown root:root /usr/lib/chromium/chrome-sandbox; \
|
|
chmod 4755 /usr/lib/chromium/chrome-sandbox; \
|
|
#
|
|
# clean up
|
|
apt-get --purge autoremove -y xz-utils; \
|
|
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 preferences.json /usr/lib/chromium/master_preferences
|
|
COPY policies.json /etc/chromium/policies/managed/policies.json
|
|
COPY openbox.xml /etc/neko/openbox.xml
|