mirror of
https://github.com/m1k1o/neko.git
synced 2026-11-03 00:11:48 -06:00
Install Widevine for Arm64 (#660)
* 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
This commit is contained in:
+14
-1
@@ -7,6 +7,10 @@ ARG USERNAME=neko
|
||||
ARG USER_UID=1000
|
||||
ARG USER_GID=$USER_UID
|
||||
|
||||
#
|
||||
# copy widevine installer
|
||||
COPY widevine-installer/ /widevine/
|
||||
|
||||
#
|
||||
# install dependencies
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
@@ -50,6 +54,14 @@ RUN set -eux; \
|
||||
chown $USERNAME /var/log/neko/ /tmp/runtime-$USERNAME; \
|
||||
chown -R $USERNAME:$USERNAME /home/$USERNAME; \
|
||||
#
|
||||
# install widevine for arm64
|
||||
ARCH=$(dpkg --print-architecture); \
|
||||
if [ "${ARCH}" = "arm64" ]; then \
|
||||
apt-get install -y --no-install-recommends squashfs-tools; \
|
||||
chmod +x /widevine/widevine*; \
|
||||
printf "\n\n" | /widevine/widevine-installer; \
|
||||
apt-get --purge autoremove -y squashfs-tools; \
|
||||
fi; \
|
||||
# install fonts
|
||||
apt-get install -y --no-install-recommends \
|
||||
# Emojis
|
||||
@@ -68,7 +80,8 @@ RUN set -eux; \
|
||||
#
|
||||
# clean up
|
||||
apt-get clean -y; \
|
||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
||||
rm -rf /var/lib/apt/lists/* /var/cache/apt/*; \
|
||||
rm -rf /widevine
|
||||
|
||||
#
|
||||
# copy runtime configs
|
||||
|
||||
Reference in New Issue
Block a user