Skip to content

Commit 2a62c6a

Browse files
committed
Docker: Update version of Firefox in platform linux/arm64
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent c5b6082 commit 2a62c6a

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
5353
acl \
5454
bzip2 \
5555
xz-utils \
56-
ca-certificates \
5756
tzdata \
5857
sudo \
5958
unzip \
@@ -64,6 +63,7 @@ RUN if [ "$(dpkg --print-architecture)" = "amd64" ]; then \
6463
gnupg2 \
6564
libnss3-tools \
6665
openjdk-${JRE_VERSION}-jdk-headless \
66+
ca-certificates \
6767
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
6868

6969
RUN --mount=type=secret,id=SEL_PASSWD \

NodeFirefox/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ RUN apt-get update -qqy && \
4343
ln -fs $(which firefox$FIREFOX_VERSION) /usr/bin/firefox ; \
4444
fi ; \
4545
else \
46+
FIREFOX_VERSION="nightly-latest" \
47+
&& FIREFOX_VERSION=$(echo "-$FIREFOX_VERSION" | sed 's/-latest//') \
4648
FIREFOX_DOWNLOAD_URL="${FIREFOX_DOWNLOAD_URL}" ; \
4749
fi ; \
4850
fi && \

NodeFirefox/install-firefox-package.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ if [[ "${FIREFOX_DOWNLOAD_URL}" == *".deb"* ]]; then
2929
echo "Installing Firefox from deb package..."
3030
sudo apt-get install -y --allow-downgrades -f /tmp/firefox.deb
3131
rm -f /tmp/firefox.deb
32+
if [ $FIREFOX_VERSION = "-beta" ] || [ $FIREFOX_VERSION = "-nightly" ] || [ $FIREFOX_VERSION = "-devedition" ] || [ $FIREFOX_VERSION = "-esr" ]; then
33+
sudo ln -fs $(which firefox${FIREFOX_VERSION}) /usr/bin/firefox ; \
34+
fi
3235
elif [[ "${FIREFOX_DOWNLOAD_URL}" == *".tar.bz2"* ]]; then
3336
echo "Downloading Firefox from ${FIREFOX_DOWNLOAD_URL}"
3437
wget -q -O /tmp/firefox.tar.bz2 "${FIREFOX_DOWNLOAD_URL}"

0 commit comments

Comments
 (0)