Skip to content

Commit 45cc8a7

Browse files
committed
Upgrades the node version to 18
1 parent ed0fd76 commit 45cc8a7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Dockerfile

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - \
1313
&& echo "deb https://download.docker.com/linux/debian $(lsb_release -cs) stable" | tee -a /etc/apt/sources.list.d/docker.list
1414

1515
# Prerequisites for `node`
16-
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
16+
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash -
1717

1818
# Prerequisites for `yarn` - https://yarnpkg.com/lang/en/docs/install/#linux-tab
1919
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
20-
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
20+
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
2121

2222
# install firefox
2323
ENV PATH /firefox:$PATH
2424
RUN FIREFOX_URL="https://download-installer.cdn.mozilla.net/pub/firefox/releases/85.0.2/linux-x86_64/en-US/firefox-85.0.2.tar.bz2" \
2525
FIREFOX_SHA256="98763f4b1526811967d71e1bbb9552a9a3fd877321ecb497083b9e313b528c31" \
26-
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/firefox.tar.bz2 $FIREFOX_URL \
27-
&& echo "$FIREFOX_SHA256 /tmp/firefox.tar.bz2" | sha256sum -c \
28-
&& tar -jxf /tmp/firefox.tar.bz2 \
29-
&& rm /tmp/firefox.tar.bz2
26+
&& curl --silent --show-error --location --fail --retry 3 --output /tmp/firefox.tar.bz2 $FIREFOX_URL \
27+
&& echo "$FIREFOX_SHA256 /tmp/firefox.tar.bz2" | sha256sum -c \
28+
&& tar -jxf /tmp/firefox.tar.bz2 \
29+
&& rm /tmp/firefox.tar.bz2
3030

3131
# install chrome
3232
RUN curl --silent --show-error --location --fail --retry 3 --output /tmp/google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb \
33-
&& (dpkg -i /tmp/google-chrome-stable_current_amd64.deb || apt-get -fy install) \
34-
&& rm -rf /tmp/google-chrome-stable_current_amd64.deb \
35-
&& sed -i 's|HERE/chrome"|HERE/chrome" --disable-setuid-sandbox --no-sandbox|g' \
36-
"/opt/google/chrome/google-chrome"
33+
&& (dpkg -i /tmp/google-chrome-stable_current_amd64.deb || apt-get -fy install) \
34+
&& rm -rf /tmp/google-chrome-stable_current_amd64.deb \
35+
&& sed -i 's|HERE/chrome"|HERE/chrome" --disable-setuid-sandbox --no-sandbox|g' \
36+
"/opt/google/chrome/google-chrome"
3737

3838
# Install php7
3939
RUN apt-get -y install apt-transport-https lsb-release ca-certificates \

0 commit comments

Comments
 (0)