Fix: nodejs glibc dependency error
parent
3e572eb22c
commit
46de335471
|
|
@ -5615,9 +5615,11 @@ class BuildAutomationWorkflow {
|
|||
const buildHooks = cloud_runner_custom_hooks_1.CloudRunnerCustomHooks.getHooks(cloud_runner_1.default.buildParameters.customJobHooks).filter((x) => x.step.includes(`build`));
|
||||
const builderPath = cloud_runner_folders_1.CloudRunnerFolders.ToLinuxFolder(path_1.default.join(cloud_runner_folders_1.CloudRunnerFolders.builderPathAbsolute, 'dist', `index.js`));
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
n 18.0.0 > /dev/null
|
||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||
source ~/.bashrc
|
||||
nvm install 18.0.0
|
||||
nvm use 18.0.0
|
||||
ldd --version
|
||||
npm --version
|
||||
nodejs --version
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -68,9 +68,11 @@ export class BuildAutomationWorkflow implements WorkflowInterface {
|
|||
);
|
||||
|
||||
return `apt-get update > /dev/null
|
||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
||||
npm install -g n > /dev/null
|
||||
n 18.0.0 > /dev/null
|
||||
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||
source ~/.bashrc
|
||||
nvm install 18.0.0
|
||||
nvm use 18.0.0
|
||||
ldd --version
|
||||
npm --version
|
||||
nodejs --version
|
||||
|
|
|
|||
Loading…
Reference in New Issue