2015-06-06 05:14:59 +02:00
|
|
|
FROM debian:sid
|
|
|
|
MAINTAINER Jessica Frazelle <jess@docker.com>
|
|
|
|
|
|
|
|
RUN sed -i.bak 's/sid main/sid main contrib/g' /etc/apt/sources.list && \
|
|
|
|
apt-get update && apt-get install -y \
|
|
|
|
bzip2 \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
flashplugin-nonfree \
|
|
|
|
hicolor-icon-theme \
|
|
|
|
libasound2 \
|
|
|
|
libdbus-glib-1-2 \
|
|
|
|
libgl1-mesa-dri \
|
|
|
|
libgl1-mesa-glx \
|
2015-12-19 13:53:23 +01:00
|
|
|
libcanberra-gtk-module \
|
2015-06-07 02:48:44 +02:00
|
|
|
--no-install-recommends \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2015-06-06 05:14:59 +02:00
|
|
|
|
2016-01-27 13:20:32 +01:00
|
|
|
ENV FIREFOX_VERSION 44.0
|
2015-08-27 07:08:45 +02:00
|
|
|
ENV LANG en-US
|
2015-06-06 05:14:59 +02:00
|
|
|
|
2015-08-27 07:08:45 +02:00
|
|
|
RUN curl -sSL "https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/${LANG}/firefox-${FIREFOX_VERSION}.tar.bz2" -o /tmp/firefox.tar.bz2 \
|
2015-06-06 05:14:59 +02:00
|
|
|
&& mkdir -p /opt/firefox \
|
|
|
|
&& tar -xjf /tmp/firefox.tar.bz2 -C /opt/firefox --strip-components 1 \
|
|
|
|
&& rm /tmp/firefox.tar.bz2* \
|
|
|
|
&& ln -s /opt/firefox/firefox /usr/bin/firefox
|
|
|
|
|
|
|
|
COPY local.conf /etc/fonts/local.conf
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/bin/firefox" ]
|