kopia lustrzana https://github.com/carlos-algms/composer-and-node-ci
Fix node installation
rodzic
1d0edbcf39
commit
c24b9e2842
|
@ -95,10 +95,10 @@ RUN \
|
||||||
|
|
||||||
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
|
# https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions
|
||||||
RUN \
|
RUN \
|
||||||
sudo mkdir -p /etc/apt/keyrings \
|
mkdir -p /etc/apt/keyrings \
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
|
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key \
|
||||||
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
| gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" \
|
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" \
|
||||||
| tee /etc/apt/sources.list.d/nodesource.list \
|
| tee /etc/apt/sources.list.d/nodesource.list \
|
||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get install -y nodejs \
|
&& apt-get install -y nodejs \
|
||||||
|
|
Ładowanie…
Reference in New Issue