mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 08:21:50 -06:00
a597d44680
* move flavored bookworm dockerfile to a new trixie dockerfile. * fix opera openbox selector. * fix remmina dependencies. * remove chromium explicit bookworm source. * Update apps to work with trixie (#624) Co-authored-by: yesBad <me@bad.cash> * remove SYS_ADMIN capability requirement for Chromium-based Docker images and update documentation accordingly. * fix chromium package. * change uBlock Origin to uBlock Origin Lite. * restore waterfox in build matrix for GHCR workflows. --------- Co-authored-by: Bad <87938689+yesBad@users.noreply.github.com> Co-authored-by: yesBad <me@bad.cash>
33 lines
1.0 KiB
Docker
33 lines
1.0 KiB
Docker
ARG BASE_IMAGE=ghcr.io/m1k1o/neko/nvidia-base:latest
|
||
FROM $BASE_IMAGE
|
||
|
||
COPY ./widevinecdm.sh /widevine.sh
|
||
|
||
#
|
||
# install neko chromium
|
||
RUN set -eux; \
|
||
apt-get update; \
|
||
apt-get install -y --no-install-recommends software-properties-common; \
|
||
# chromium-browser from default repo needs snap to be installed
|
||
# and nvidia base is ubuntu not debian
|
||
add-apt-repository ppa:xtradeb/apps; \
|
||
apt-get update; \
|
||
apt-get install -y --no-install-recommends xz-utils chromium openbox; \
|
||
#
|
||
# install widevine module
|
||
CHROMIUM_DIR="/usr/lib/chromium"; \
|
||
./widevine.sh "${CHROMIUM_DIR}/WidevineCdm"; \
|
||
rm -f /widevine.sh; \
|
||
#
|
||
# 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.nvidia.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
|