Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build console-less nodew.exe #275

Merged
merged 1 commit into from
Feb 4, 2018
Merged

Build console-less nodew.exe #275

merged 1 commit into from
Feb 4, 2018

Conversation

StefanScherer
Copy link
Owner

nodew

A console-less node.exe

Although this nodew.exe is not needed inside a container, this is a
containerized way to produce one without installing other tools on you host
machine.

docker build -t nodew .
docker create nodew
docker cp $(docker ps -ql):/home/.nvm$/this/nodew.exe nodew.exe

Patching USERPROFILE

Running the nvm$ install 8.9.4 command results in an error during extracing
the MSI package. The reason is that msiexec cannot handle long paths:

C:\Users\ContainerAdministrator\AppData\Local\Temp>type MSI50547.LOG
Error 1320. The specified path is too long: C:\Users\ContainerAdministrator\.nvm$\.CGe\nodejs\node_modules\npm\node_modules\pacote\node_modules\make-fetch-happen\node_modules\https-proxy-agent\node_modules\agent-base\node_modules\es6-promisify\node_modules\es6-promise\lib\es6-promise\promise

That's why I patch USERPROFILE to a shorter path, short enough to extract all files ;-)

@StefanScherer StefanScherer merged commit d92ffc8 into master Feb 4, 2018
@StefanScherer StefanScherer deleted the build-nodew branch February 4, 2018 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant