Chocolatey generated VS 2015 Compiler not found on docker image

I tried to install visual studio 2015 build tools on a Docker Container using the chocolatey packet manager. I need it for a Matlab code gen build operation.
The chocolatey steps works fine.
But my docker container can’t find the compiler.
Any Hints?

Docker

RUN powershell -command choco install -y vcredist140
RUN powershell -command choco install -y vcbuildtools -ia "/Full"

Using mex -v -setup
I have:

Host(WIN10):

... Looking for compiler 'Microsoft Visual C++ 2015 (C)' ...
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7' 14.0 ...Yes ('C:Program Files (x86)Microsoft Visual Studio 14.0VC').
... Looking for file 'C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64cl.exe' ...Yes.
... Looking for folder 'C:Program Files (x86)Microsoft Visual Studio 14.0VC' ...Yes.
... Looking for registry setting 'HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...Yes ('C:Program Files (x86)Windows Kits.1').
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7' 14.0 ...Yes ('C:Program Files (x86)Microsoft Visual Studio 14.0').
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7' 14.0 ...Yes ('C:Program Files (x86)Microsoft Visual Studio 14.0VC').
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVC7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVC7' 14.0 ...Yes ('C:Program Files (x86)Microsoft Visual Studio 14.0VC').
... Looking for file 'C:Program Files (x86)Microsoft Visual Studio 14.0VCvcvarsall.bat' ...Yes.
... Looking for folder 'C:Program Files (x86)Microsoft Visual Studio 14.0VC' ...Yes.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftWindows KitsInstalled Roots' KitsRoot10 ...Yes ('C:Program Files (x86)Windows Kits').
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftWindows KitsInstalled Roots' KitsRoot10 ...Yes ('C:Program Files (x86)Windows Kits').
... Executing command 'echo off&set "sdkversion="&(for /f %a IN ('dir "C:Program Files (x86)Windows Kitsinclude" /b /ad-h /on') do ( @if exist "C:Program Files (x86)Windows Kitsinclude%aucrt" set "sdkversion=%a" ))&call echo %sdkversion%' ...Yes ('10.0.17763.0').
Found installed compiler 'Microsoft Visual C++ 2015 (C)'.

Docker(WINSERV2016):

... Looking for file 'C:Program Files (x86)Microsoft Visual Studio 14.0VCbinamd64cl.exe' ...Yes.
... Looking for folder 'C:Program Files (x86)Microsoft Visual Studio 14.0VC' ...Yes.
... Looking for registry setting 'HKLMSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftMicrosoft SDKsWindowsv8.1' InstallationFolder ...Yes ('C:Program Files (x86)Windows Kits.1').
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7' 14.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREMicrosoftVisualStudioSxSVS7' 15.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREMicrosoftVisualStudioSxSVS7' 15.0 ...No.
... Looking for registry setting 'HKLMSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7' 15.0 ...No.
... Looking for registry setting 'HKCUSOFTWAREWow6432NodeMicrosoftVisualStudioSxSVS7' 15.0 ...No.
Did not find installed compiler 'Microsoft Visual C++ 2015 (C)'.

Source: Docker Questions