mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
d2ec13a236
* chromium arm64 widevine * brave arm64 widevine * firefox arm64 widevine * vivaldi arm64 widevine * Update browser.md for arm64 drm * add link to instruction * add widevine-installer * widevine base image, tools in utils, move files for chromiums * include installer in runtime * add runtime/widevine-installer in repo-structure
31 lines
1.3 KiB
Docker
31 lines
1.3 KiB
Docker
ARG BASE_IMAGE=ghcr.io/m1k1o/neko/base:latest
|
|
FROM $BASE_IMAGE
|
|
|
|
RUN set -eux; apt-get update; \
|
|
apt-get install -y --no-install-recommends apt-transport-https curl openbox; \
|
|
#
|
|
# install brave browser
|
|
ARCH=$(dpkg --print-architecture); \
|
|
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg; \
|
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=${ARCH}] https://brave-browser-apt-release.s3.brave.com/ stable main" \
|
|
| tee /etc/apt/sources.list.d/brave-browser-release.list; \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends brave-browser; \
|
|
#
|
|
# install widevine
|
|
if [ "${ARCH}" = "arm64" ]; then \
|
|
mkdir -p /opt/brave.com/brave/WidevineCdm; \
|
|
find /var/lib/widevine/WidevineCdm/ ! -name "WidevineCdm" -exec cp -RL {} /opt/brave.com/brave/WidevineCdm/ \; ; \
|
|
fi; \
|
|
#
|
|
# clean up
|
|
apt-get clean -y; \
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
#
|
|
# copy configuation files
|
|
COPY supervisord.conf /etc/neko/supervisord/brave.conf
|
|
COPY --chown=neko preferences.json /home/neko/.config/brave/Default/Preferences
|
|
COPY policies.json /etc/brave/policies/managed/policies.json
|
|
COPY openbox.xml /etc/neko/openbox.xml
|