dockerfiles/firefox/Dockerfile

35 lines
904 B
Docker
Raw Permalink Normal View History

FROM debian:sid-slim
LABEL maintainer "Jessie Frazelle <jess@linux.com>"
RUN apt-get update && apt-get install -y \
dirmngr \
gnupg \
--no-install-recommends \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0AB215679C571D1C8325275B9BDB3D89CE49EC21 \
2017-07-22 18:00:21 +02:00
&& echo "deb http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu xenial main" >> /etc/apt/sources.list.d/firefox.list \
&& apt-get update && apt-get install -y \
apulse \
ca-certificates \
ffmpeg \
firefox \
hicolor-icon-theme \
libasound2 \
libgl1-mesa-dri \
libgl1-mesa-glx \
libpulse0 \
2018-12-11 21:09:09 +01:00
fonts-noto \
fonts-noto-cjk \
fonts-noto-color-emoji \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV LANG en-US
COPY local.conf /etc/fonts/local.conf
RUN echo 'pref("browser.tabs.remote.autostart", false);' >> /etc/firefox/syspref.js
COPY entrypoint.sh /usr/bin/startfirefox
ENTRYPOINT [ "startfirefox" ]