Skip to content

Commit dde0e0c

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents 3ce273f + ac73445 commit dde0e0c

21 files changed

+3652
-119
lines changed

aarch64-gcc-8.5.0-glibc-2.28.config

Lines changed: 930 additions & 0 deletions
Large diffs are not rendered by default.

bionic-arm32v7/Dockerfile renamed to archived/bionic-arm32v7/Dockerfile_Unused

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ RUN groupadd --gid 121 builduser \
88

99
RUN apt-get update && apt-get install -y --no-install-recommends \
1010
software-properties-common \
11-
gcc \
12-
g++ \
11+
gcc-8 \
12+
g++-8 \
1313
binutils \
1414
build-essential \
1515
git \
@@ -36,3 +36,7 @@ RUN echo 'builduser ALL=NOPASSWD: ALL' >> /etc/sudoers.d/50-builduser \
3636
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user
3737
# USER builduser
3838
# WORKDIR /home/builduser
39+
40+
ENV CC=/usr/bin/gcc-8 \
41+
CPP=/usr/bin/cpp-8 \
42+
CXX=/usr/bin/g++-8

bionic-arm64/Dockerfile renamed to archived/bionic-arm64/Dockerfile_Unused

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,18 @@ RUN echo 'builduser ALL=NOPASSWD: ALL' >> /etc/sudoers.d/50-builduser \
5151
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
5252
RUN python --version
5353

54-
# Yarn
55-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
56-
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
57-
RUN apt-get update && apt-get install -y yarn
58-
59-
# Node.js
60-
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | sudo -E bash -
61-
RUN apt-get update && apt-get install -y nodejs
62-
RUN npm install -g npm@latest
63-
RUN npm install -g node-gyp
64-
6554
# Install docker client
6655
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
6756
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
6857
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
69-
RUN sudo apt-get update && sudo apt-get install -y docker-ce
58+
RUN apt-get update && apt-get install -y docker-ce
59+
60+
# Node.js
61+
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
62+
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
63+
RUN apt-get update && apt-get install -y nodejs
64+
RUN npm install -g yarn
65+
RUN npm install -g node-gyp
7066

7167
# Github action need root user
7268
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user

bionic-armhf/Dockerfile renamed to archived/bionic-armhf/Dockerfile_Unused

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,18 @@ RUN echo 'builduser ALL=NOPASSWD: ALL' >> /etc/sudoers.d/50-builduser \
5151
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
5252
RUN python --version
5353

54-
# Yarn
55-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
56-
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
57-
RUN apt-get update && apt-get install -y yarn
58-
59-
# Node.js
60-
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | sudo -E bash -
61-
RUN apt-get update && apt-get install -y nodejs
62-
RUN npm install -g npm@latest
63-
RUN npm install -g node-gyp
64-
6554
# Install docker client
6655
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
6756
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
6857
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
69-
RUN sudo apt-get update && sudo apt-get install -y docker-ce
58+
RUN apt-get update && apt-get install -y docker-ce
59+
60+
# Node.js
61+
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
62+
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
63+
RUN apt-get update && apt-get install -y nodejs
64+
RUN npm install -g yarn
65+
RUN npm install -g node-gyp
7066

7167
# Github action need root user
7268
# https://docs.github.com/en/actions/creating-actions/dockerfile-support-for-github-actions#user

bionic-x64/Dockerfile renamed to archived/bionic-x64-v1/Dockerfile_Unused

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,6 @@ RUN apt-get update && apt-get install -y \
6060
RUN echo 'builduser ALL=NOPASSWD: ALL' >> /etc/sudoers.d/50-builduser \
6161
&& echo 'Defaults env_keep += "DEBIAN_FRONTEND"' >> /etc/sudoers.d/env_keep
6262

63-
# Yarn
64-
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
65-
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
66-
RUN apt-get update && apt-get install -y yarn
67-
68-
# Node.js
69-
RUN curl --silent --location https://deb.nodesource.com/setup_16.x | sudo -E bash -
70-
RUN apt-get update && apt-get install -y nodejs
71-
RUN npm install -g npm@latest
72-
RUN npm install -g node-gyp
73-
7463
# Set python3 as default
7564
RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
7665
RUN python --version
@@ -79,7 +68,14 @@ RUN python --version
7968
RUN sudo mkdir -m 0755 -p /etc/apt/keyrings
8069
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
8170
RUN echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
82-
RUN sudo apt-get update && sudo apt-get install -y docker-ce
71+
RUN apt-get update && apt-get install -y docker-ce
72+
73+
# Node.js
74+
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
75+
RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x nodistro main" | sudo tee /etc/apt/sources.list.d/nodesource.list
76+
RUN apt-get update && apt-get install -y nodejs
77+
RUN npm install -g yarn
78+
RUN npm install -g node-gyp
8379

8480
# Check compiler toolchain
8581
RUN gcc --version
File renamed without changes.

centos7-devtoolset8-arm64/Dockerfile renamed to archived/centos7-devtoolset8-arm64/Dockerfile_Unused

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,16 @@ ARG INSTALL_PKGS="devtoolset-8-gcc \
1010
sudo \
1111
libsecret-devel \
1212
krb5-devel \
13-
nodejs \
1413
python3"
1514

16-
# setup nodejs repo
17-
RUN curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
18-
1915
RUN yum install -y centos-release-scl-rh && \
2016
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
2117
rpm -V $INSTALL_PKGS && \
2218
yum -y clean all --enablerepo='*'
2319

24-
# update npm and install yarn, node-gyp
25-
RUN npm install -g "[email protected]"
20+
# install nodejs
21+
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
22+
RUN yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
2623
RUN npm install -g yarn
2724
RUN npm install -g node-gyp
2825

centos7-devtoolset8-x64/Dockerfile renamed to archived/centos7-devtoolset8-x64/Dockerfile_Unused

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@ ARG INSTALL_PKGS="devtoolset-8-gcc \
1212
sudo \
1313
libsecret-devel \
1414
krb5-devel \
15-
nodejs \
1615
python3"
1716

18-
# setup nodejs repo
19-
RUN curl --silent --location https://rpm.nodesource.com/setup_16.x | bash -
20-
2117
RUN yum install -y centos-release-scl-rh && \
2218
yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
2319
rpm -V $INSTALL_PKGS && \
2420
yum -y clean all --enablerepo='*'
2521

26-
# update npm and install yarn, node-gyp
27-
RUN npm install -g "[email protected]"
22+
# install nodejs
23+
RUN yum install https://rpm.nodesource.com/pub_16.x/nodistro/repo/nodesource-release-nodistro-1.noarch.rpm -y
24+
RUN yum install nodejs -y --setopt=nodesource-nodejs.module_hotfixes=1
2825
RUN npm install -g yarn
2926
RUN npm install -g node-gyp
3027

0 commit comments

Comments
 (0)