Closed hemnstill closed 2 years ago
windows binaries does not work in mcr.microsoft.com/windows/nanoserver:ltsc2022-amd64
mcr.microsoft.com/windows/nanoserver:ltsc2022-amd64
empty output (exit code: 53)
docker run -v C:\rubyinstaller-3.1.0-1-x64\bin:c:\scan stefanscherer/nanoserverapiscan
----------------------------------------------------------------------------- === ruby.exe === === C:\scan\ruby.exe === ERRORS: KERNEL32.dll GetStartupInfoA(Proc not found) Please use API GetStartupInfoW as substitution. ----------------------------------------------------------------------------- === rubyw.exe === === C:\scan\rubyw.exe === ERRORS: KERNEL32.dll GetStartupInfoA(Proc not found) Please use API GetStartupInfoW as substitution. ----------------------------------------------------------------------------- === x64-ucrt-ruby310.dll === === C:\scan\x64-ucrt-ruby310.dll === ERRORS: ADVAPI32.dll GetUserNameW(Proc not found) Please use API GetUserNameExW as substitution. KERNEL32.dll CreateFileMappingA(Proc not found) Please use API CreateFileMappingW as substitution. CreateNamedPipeA(Proc not found) Please use API CreateNamedPipeW as substitution. SHELL32.dll SHGetMalloc(Proc not found) SHGetPathFromIDListW(Proc not found) SHGetSpecialFolderLocation(Proc not found) ----------------------------------------------------------------------------- === libcrypto-1_1-x64.dll === === C:\scan\ruby_builtin_dlls\libcrypto-1_1-x64.dll === ERRORS: ADVAPI32.dll DeregisterEventSource(Proc not found) RegisterEventSourceA(Proc not found) RegisterEventSourceW(Proc not found) ReportEventA(Proc not found) ReportEventW(Proc not found) USER32.dll GetProcessWindowStation(Proc not found) GetUserObjectInformationW(Proc not found) MessageBoxW(Proc not found) ----------------------------------------------------------------------------- === libffi-7.dll === === C:\scan\ruby_builtin_dlls\libffi-7.dll === ----------------------------------------------------------------------------- === libgcc_s_seh-1.dll === === C:\scan\ruby_builtin_dlls\libgcc_s_seh-1.dll === ----------------------------------------------------------------------------- === libgmp-10.dll === === C:\scan\ruby_builtin_dlls\libgmp-10.dll === ----------------------------------------------------------------------------- === libssl-1_1-x64.dll === === C:\scan\ruby_builtin_dlls\libssl-1_1-x64.dll === ----------------------------------------------------------------------------- === libssp-0.dll === === C:\scan\ruby_builtin_dlls\libssp-0.dll === ----------------------------------------------------------------------------- === libwinpthread-1.dll === === C:\scan\ruby_builtin_dlls\libwinpthread-1.dll === ERRORS: KERNEL32.dll GetProcessAffinityMask(Proc not found) SetProcessAffinityMask(Proc not found) ----------------------------------------------------------------------------- === libyaml-0-2.dll === === C:\scan\ruby_builtin_dlls\libyaml-0-2.dll === ----------------------------------------------------------------------------- === zlib1.dll === === C:\scan\ruby_builtin_dlls\zlib1.dll ===
I think this issue is better directed at RubyInstaller (because we use their binaries) or even at upstream Ruby.
windows binaries does not work in
mcr.microsoft.com/windows/nanoserver:ltsc2022-amd64
empty output (exit code: 53)
docker run -v C:\rubyinstaller-3.1.0-1-x64\bin:c:\scan stefanscherer/nanoserverapiscan