2022-06-02 17:50:30 +12:00
|
|
|
ARG BASE_IMAGE=m1k1o/neko:base
|
2022-06-02 17:45:38 +12:00
|
|
|
FROM $BASE_IMAGE
|
|
|
|
|
|
|
|
ARG SRC_URL="https://downloads.vivaldi.com/stable/vivaldi-stable_5.3.2679.34-1_amd64.deb"
|
|
|
|
|
|
|
|
#
|
|
|
|
# install vivaldi
|
|
|
|
RUN set -eux; apt-get update; \
|
|
|
|
wget -O /tmp/vivaldi.deb "${SRC_URL}"; \
|
|
|
|
apt-get install -y --no-install-recommends xz-utils openbox /tmp/vivaldi.deb; \
|
|
|
|
#
|
|
|
|
# clean up
|
|
|
|
apt-get clean -y; \
|
|
|
|
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
|
|
|
|
|
|
|
|
#
|
|
|
|
# copy configuation files
|
|
|
|
COPY supervisord.conf /etc/neko/supervisord/vivaldi-browser.conf
|
|
|
|
COPY --chown=neko preferences.json /home/neko/.config/vivaldi/Default/Preferences
|
|
|
|
COPY policies.json /etc/opt/vivaldi/policies/managed/policies.json
|
|
|
|
COPY openbox.xml /etc/neko/openbox.xml
|
|
|
|
RUN /opt/vivaldi/update-ffmpeg
|