mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-01-30 17:13:46 +01:00
Merge pull request #61 from qinwf/qinwf-patch-2
replace latest with FIREFOX_VERSION and add LANG
This commit is contained in:
commit
24cc814f72
|
@ -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* \
|
||||
|
|
Loading…
Reference in New Issue
Block a user