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 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`));
|
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
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||||
npm install -g n > /dev/null
|
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||||
n 18.0.0 > /dev/null
|
source ~/.bashrc
|
||||||
|
nvm install 18.0.0
|
||||||
|
nvm use 18.0.0
|
||||||
ldd --version
|
ldd --version
|
||||||
npm --version
|
npm --version
|
||||||
nodejs --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
|
return `apt-get update > /dev/null
|
||||||
apt-get install -y tar tree npm git-lfs jq git > /dev/null
|
apt-get install -y curl tar tree npm git-lfs jq git > /dev/null
|
||||||
npm install -g n > /dev/null
|
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
|
||||||
n 18.0.0 > /dev/null
|
source ~/.bashrc
|
||||||
|
nvm install 18.0.0
|
||||||
|
nvm use 18.0.0
|
||||||
ldd --version
|
ldd --version
|
||||||
npm --version
|
npm --version
|
||||||
nodejs --version
|
nodejs --version
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue