Archived
2
0
This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
neko-custom/test/firefox/Dockerfile

33 lines
881 B
Docker
Raw Permalink Normal View History

2023-10-16 06:24:42 +13:00
FROM m1k1o/neko:base
#
# install firefox
RUN set -eux; apt-get update; \
apt-get install -y --no-install-recommends firefox-esr; \
#
# create a non-root user
#groupadd --gid 1000 neko; \
#useradd --uid 1000 --gid neko --shell /bin/bash --create-home neko; \
#
# install fonts
apt-get install -y --no-install-recommends \
# Google emojis
fonts-noto-color-emoji \
# Japanese fonts
fonts-takao-mincho \
# Chinese fonts
fonts-wqy-zenhei xfonts-intl-chinese xfonts-wqy \
# Korean fonts
fonts-wqy-microhei; \
#
# clean up
apt-get --purge autoremove -y xz-utils bzip2; \
apt-get clean -y; \
rm -rf /var/lib/apt/lists/* /var/cache/apt/*
USER neko
ENTRYPOINT [ "/usr/bin/firefox" ]
CMD [ "--display", $DISPLAY, "-setDefaultBrowser", "-width", "1280", "-height", "720" ]