Skip to content

Commit 418fc71

Browse files
committed
[ci] Fix deploy firefox-dev image
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent bd94870 commit 418fc71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

NodeFirefox/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
2424
FIREFOX_DOWNLOAD_URL="${FIREFOX_DOWNLOAD_URL}" ; \
2525
fi \
2626
&& apt-get update -qqy \
27-
&& apt-get -qqy --no-install-recommends install libavcodec-extra libgtk-3-dev libdbus-glib-1-dev \
27+
&& apt-get -qqy --no-install-recommends install libavcodec-extra libgtk-3-dev libdbus-glib-1-dev xz-utils \
2828
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
2929
&& wget --no-verbose -O /tmp/firefox.tar.bz2 $FIREFOX_DOWNLOAD_URL \
3030
&& rm -rf /opt/firefox \
31-
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 || tar -C /opt -xJf /tmp/firefox.tar.bz2 \
32-
&& rm /tmp/firefox.tar.bz2 \
31+
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 || (mv /tmp/firefox.tar.bz2 /tmp/firefox.tar.xz && tar -C /opt -xJf /tmp/firefox.tar.xz) \
32+
&& rm -rf /tmp/firefox.tar.bz2 /tmp/firefox.tar.xz \
3333
&& mv /opt/firefox /opt/firefox-$FIREFOX_VERSION \
3434
&& mkdir -p /opt/firefox-$FIREFOX_VERSION/distribution/extensions \
3535
&& ln -fs /opt/firefox-$FIREFOX_VERSION/firefox /usr/bin/firefox \

0 commit comments

Comments
 (0)