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

Add a nanoserver-based image #2

Open
nuest opened this issue Mar 15, 2018 · 1 comment
Open

Add a nanoserver-based image #2

nuest opened this issue Mar 15, 2018 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@nuest
Copy link
Owner

nuest commented Mar 15, 2018

See branch nano

There are some issues with the required system libraries, it seems, because the Installation of R just quietly does nothing.

Nanoserverapiscan also does not help me so far, because I do not have a system32/Forwarders directory on my machine. Maybe I need to be on a Windows server... probably the R installer needs to be updated to work on nanoserver... or I must try to build R from source.

docker run -v "$(pwd):C:\scan" stefanscherer/nanoserverapiscan
Error: the file "C:\scan\GitKrakenSetup.exe" is not a valid 64 bit PE file.
Error: the file "C:\scan\R-3.4.3-win.exe" is not a valid 64 bit PE file.
Error: no reverse forwarders dll is found in "C:\scan". Please verify if reverse forwarders are properly deployed with this tool.

Resources

@nuest nuest added enhancement New feature or request help wanted Extra attention is needed labels Mar 15, 2018
@StefanScherer
Copy link

Normally Exe installers are 32bit applications to be able to run on 32bit and 64bit Windows. They may have the 32bit and 64bit installers embedded, but the Exe wrapper is still 32bit.
There is no chance to run 32bit exe files in NanoServer.

You can use your Dockerfile, download the exe installer in windowsservercore and run the installer there.
Then add a second stage to create a multi-stage build in one Dockerfile to copy the C:\R folder to the final NanoServer stage and then try to run the R binary there.
The final stage also needs to set the PATH as this can't be copied from one stage to another.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants