Merge pull request #61 from qinwf/qinwf-patch-2

replace latest with FIREFOX_VERSION and add LANG
This commit is contained in:
Jessie Frazelle 2015-08-26 22:23:30 -07:00
commit 24cc814f72

View File

@ -15,9 +15,10 @@ RUN sed -i.bak 's/sid main/sid main contrib/g' /etc/apt/sources.list && \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV FIREFOX_VERSION 40.0
ENV FIREFOX_VERSION 40.0.2
ENV LANG en-US
RUN curl -sSL "https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/latest/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2" -o /tmp/firefox.tar.bz2 \
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* \