Skip to content

Commit

Permalink
[ci] Fix deploy firefox-dev image
Browse files Browse the repository at this point in the history
Signed-off-by: Viet Nguyen Duc <[email protected]>
  • Loading branch information
VietND96 committed Dec 7, 2024
1 parent bd94870 commit b1abe7b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions NodeFirefox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,11 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/* \
&& wget --no-verbose -O /tmp/firefox.tar.bz2 $FIREFOX_DOWNLOAD_URL \
&& rm -rf /opt/firefox \
&& tar -C /opt -xjf /tmp/firefox.tar.bz2 || tar -C /opt -xJf /tmp/firefox.tar.bz2 \
&& rm /tmp/firefox.tar.bz2 \
&& if [ $(tar -C /opt -xjf /tmp/firefox.tar.bz2) -ne 0 ]; then \
mv /tmp/firefox.tar.bz2 /tmp/firefox.tar.xz \
&& tar -C /opt -xJf /tmp/firefox.tar.xz; \
fi \
&& rm -rf /tmp/firefox.tar.bz2 /tmp/firefox.tar.xz \
&& mv /opt/firefox /opt/firefox-$FIREFOX_VERSION \
&& mkdir -p /opt/firefox-$FIREFOX_VERSION/distribution/extensions \
&& ln -fs /opt/firefox-$FIREFOX_VERSION/firefox /usr/bin/firefox \
Expand Down

0 comments on commit b1abe7b

Please sign in to comment.