mirror of
https://github.com/VSCodium/vscode-linux-build-agent.git
synced 2025-12-10 21:07:27 -06:00
feat: use nodejs-v22
This commit is contained in:
parent
3d23846d26
commit
4ca0e6b0e4
@ -2,7 +2,7 @@ ARG REPO=alpine
|
||||
ARG TAG=3.16
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG NODE_VERSION="16.20.2"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
RUN apk add g++ python3 make git bash curl perl pkgconfig libsecret-dev krb5-dev jq
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ ARG TAG=beige-loong64-v1.4.0
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG NODE_VERSION="20.16.0"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
RUN echo 'deb http://mirrors.kernel.org/deepin/beige beige main commercial community' > /etc/apt/sources.list && \
|
||||
apt-get update && \
|
||||
|
||||
@ -49,7 +49,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
|
||||
RUN python --version
|
||||
|
||||
# Node.js
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
RUN npm install -g npm@latest node-gyp yarn
|
||||
|
||||
|
||||
@ -49,7 +49,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
|
||||
RUN python --version
|
||||
|
||||
# Node.js
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
RUN npm install -g npm@latest node-gyp yarn
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@ ARG TAG=20.04
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG NODE_VERSION="20.18.2"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
# ubuntu keeps its i386/amd64 and other architecture repos separate
|
||||
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
|
||||
|
||||
@ -3,7 +3,7 @@ ARG TAG=20.04
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG NODE_VERSION="20.18.2"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
# ubuntu keeps its i386/amd64 and other architecture repos separate
|
||||
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
|
||||
|
||||
@ -3,7 +3,7 @@ ARG TAG=20.04
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG NODE_VERSION="20.18.2"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
# ubuntu keeps its i386/amd64 and other architecture repos separate
|
||||
# the default i386/amd64 packages can be found in http://archive.ubuntu.com while all other architectures are in http://ports.ubuntu.com/
|
||||
|
||||
@ -3,7 +3,7 @@ ARG TAG=20.04
|
||||
FROM ${REPO}:${TAG}
|
||||
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
ARG NODE_VERSION="20.18.2"
|
||||
ARG NODE_VERSION="22.20.0"
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
gcc-10 \
|
||||
|
||||
@ -50,7 +50,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 1
|
||||
RUN python --version
|
||||
|
||||
# Node.js
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
RUN npm install -g npm@latest node-gyp yarn
|
||||
|
||||
|
||||
@ -70,7 +70,7 @@ RUN apt-get update && apt-get install -y \
|
||||
# && echo 'Defaults env_keep += "DEBIAN_FRONTEND"' >> /etc/sudoers.d/env_keep
|
||||
|
||||
# Node.js
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_20.x | sudo -E bash -
|
||||
RUN curl --silent --location https://deb.nodesource.com/setup_22.x | sudo -E bash -
|
||||
RUN apt-get update && apt-get install -y nodejs
|
||||
RUN npm install -g npm@latest node-gyp yarn
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user