Skip to content

Commit 60f4d82

Browse files
author
Serhii Khoma
committed
feat: update node version from 8 to 12
1 parent 7334983 commit 60f4d82

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

Dockerfile.amd64

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM ubuntu:18.04 as system
88

99

1010

11-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
11+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
1212

1313

1414
# built-in packages
@@ -40,8 +40,8 @@ RUN apt update \
4040
&& apt autoclean -y \
4141
&& apt autoremove -y \
4242
&& rm -rf /var/lib/apt/lists/*
43-
44-
43+
44+
4545
# Additional packages require ~600MB
4646
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
4747

@@ -78,14 +78,14 @@ RUN apt-get update \
7878
FROM ubuntu:18.04 as builder
7979

8080

81-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
81+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
8282

8383

8484
RUN apt-get update \
8585
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
8686

8787
# nodejs
88-
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
88+
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
8989
&& apt-get install -y nodejs
9090

9191
# yarn

Dockerfile.arm64

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --from=amd64 /usr/bin/qemu-aarch64-static /usr/bin/
1212

1313

1414

15-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
15+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
1616

1717

1818
# built-in packages
@@ -44,8 +44,8 @@ RUN apt update \
4444
&& apt autoclean -y \
4545
&& apt autoremove -y \
4646
&& rm -rf /var/lib/apt/lists/*
47-
48-
47+
48+
4949
# Additional packages require ~600MB
5050
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
5151

@@ -78,14 +78,14 @@ RUN apt-get update \
7878
FROM ubuntu:18.04 as builder
7979

8080

81-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
81+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
8282

8383

8484
RUN apt-get update \
8585
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
8686

8787
# nodejs
88-
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
88+
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
8989
&& apt-get install -y nodejs
9090

9191
# yarn

Dockerfile.armhf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
1212

1313

1414

15-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
15+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
1616

1717

1818
# built-in packages
@@ -44,8 +44,8 @@ RUN apt update \
4444
&& apt autoclean -y \
4545
&& apt autoremove -y \
4646
&& rm -rf /var/lib/apt/lists/*
47-
48-
47+
48+
4949
# Additional packages require ~600MB
5050
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
5151

@@ -78,14 +78,14 @@ RUN apt-get update \
7878
FROM ubuntu:18.04 as builder
7979

8080

81-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
81+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
8282

8383

8484
RUN apt-get update \
8585
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
8686

8787
# nodejs
88-
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
88+
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
8989
&& apt-get install -y nodejs
9090

9191
# yarn

Dockerfile.j2

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM arm32v7/{{image}} as system
1313
COPY --from=amd64 /usr/bin/qemu-arm-static /usr/bin/
1414
{%endif%}
1515

16-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
16+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
1717

1818
# built-in packages
1919
ENV DEBIAN_FRONTEND noninteractive
@@ -51,23 +51,23 @@ RUN apt update \
5151
&& apt autoclean -y \
5252
&& apt autoremove -y \
5353
&& rm -rf /var/lib/apt/lists/*
54-
{%endif%}
54+
{%endif%}
5555
{%if desktop == "lxqt" %}
5656
RUN apt update \
5757
&& apt install -y --no-install-recommends --allow-unauthenticated \
5858
lxqt openbox gtk2-engines-murrine gnome-themes-standard gtk2-engines-pixbuf arc-theme \
5959
&& apt autoclean -y \
6060
&& apt autoremove -y \
6161
&& rm -rf /var/lib/apt/lists/*
62-
{%endif%}
62+
{%endif%}
6363
{%if desktop == "xfce4" %}
6464
RUN apt update \
6565
&& apt install -y --no-install-recommends --allow-unauthenticated \
6666
xubuntu-desktop \
6767
&& apt autoclean -y \
6868
&& apt autoremove -y \
6969
&& rm -rf /var/lib/apt/lists/*
70-
{%endif%}
70+
{%endif%}
7171
# Additional packages require ~600MB
7272
# libreoffice pinta language-pack-zh-hant language-pack-gnome-zh-hant firefox-locale-zh-hant libreoffice-l10n-zh-tw
7373

@@ -105,14 +105,14 @@ RUN apt-get update \
105105
FROM {{image}} as builder
106106

107107
{% if localbuild == 1 %}
108-
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
108+
RUN sed -i 's#http://archive.ubuntu.com/ubuntu/#mirror://mirrors.ubuntu.com/mirrors.txt#' /etc/apt/sources.list;
109109
{% endif %}
110110

111111
RUN apt-get update \
112112
&& apt-get install -y --no-install-recommends curl ca-certificates gnupg patch
113113

114114
# nodejs
115-
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash - \
115+
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash - \
116116
&& apt-get install -y nodejs
117117

118118
# yarn

0 commit comments

Comments
 (0)