Fix: nodejs glibc dependency error

pull/437/head
Frostebite 2022-10-30 22:51:25 +00:00
parent 3e572eb22c
commit 46de335471
3 changed files with 11 additions and 7 deletions

8
dist/index.js vendored
View File

@ -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

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -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