mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
55005a6f8d
* add nvidia dockerfile. * add nvidia docker to build. * remove vaapi. * add google chrome and brave. * upgrade to virtualgl 3.1. * add disable-seccomp-filter-sandbox to chrome. * use vgl display in vglrun. * Revert "use vgl display in vglrun." This reverts commit 0cd556b5d805c0f7fe3dfe84a0b81d4375e19d8d. * update chrome params. * update changelog. * update brave. * update CI.
24 lines
1.0 KiB
Docker
24 lines
1.0 KiB
Docker
ARG BASE_IMAGE=m1k1o/neko:nvidia-base
|
|
FROM $BASE_IMAGE
|
|
|
|
RUN set -eux; apt-get update; \
|
|
apt-get install -y --no-install-recommends apt-transport-https curl openbox; \
|
|
#
|
|
# install brave browser
|
|
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=amd64] 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; \
|
|
#
|
|
# clean up
|
|
apt-get clean -y; \
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
#
|
|
# copy configuation files
|
|
COPY supervisord.nvidia.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
|