2023-03-17 13:12:35 +13:00
|
|
|
|
ARG BASE_IMAGE=m1k1o/neko:nvidia-base
|
|
|
|
|
FROM $BASE_IMAGE
|
|
|
|
|
|
2023-04-08 06:20:05 +12:00
|
|
|
|
# latest working version with EGL: 111.0.5563.146, revert when resolved
|
|
|
|
|
# 112.0.5615.49 fails: https://github.com/VirtualGL/virtualgl/issues/229
|
2024-06-17 08:28:32 +12:00
|
|
|
|
# google does not provide a direct link to the deb file anymore
|
|
|
|
|
# ARG SRC_URL="https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_111.0.5563.146-1_amd64.deb"
|
|
|
|
|
ARG SRC_URL="https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb"
|
2023-03-17 13:12:35 +13:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# install google chrome
|
|
|
|
|
RUN set -eux; apt-get update; \
|
|
|
|
|
wget -O /tmp/google-chrome.deb "${SRC_URL}"; \
|
|
|
|
|
apt-get install -y --no-install-recommends openbox /tmp/google-chrome.deb; \
|
|
|
|
|
#
|
|
|
|
|
# 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/google-chrome.conf
|
|
|
|
|
COPY --chown=neko preferences.json /home/neko/.config/google-chrome/Default/Preferences
|
|
|
|
|
COPY policies.json /etc/opt/chrome/policies/managed/policies.json
|
|
|
|
|
COPY openbox.xml /etc/neko/openbox.xml
|