mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 12:23:35 +01:00
f32f5bfb47
Fix FIREFOX_VERSION, and it will not fail to build when latest version number change. LANG to choose a different language. Check https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/40.0.2/linux-x86_64/ to see more.
30 lines
861 B
Docker
30 lines
861 B
Docker
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 \
|
|
--no-install-recommends \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV FIREFOX_VERSION 40.0.2
|
|
ENV LANG en-US
|
|
|
|
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 \
|
|
&& 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" ]
|