wine and dotnet40 in a docker container based on alpine linux
#1
Thu, 2016-05-19 00:01
k3ck3c
-
- Offline
- 1 year 4 months ago
- 2015-10-04
Hello
I try to build a docker container based on alpine linux with wine and dotnet40.
The Dockerfile
FROM boggart/alpine-apk-static-32bit MAINTAINER Boggart "github.com/Boggart" RUN ["/sbin/apk.static", "add", "--update", "alpine-base", "wine", "dpkg", "linux-pam", "wget", "libfreetype6:i386", "cabextract"] RUN dpkg --add-architecture i386 ; wget --no-check-certificate "https://dl.dropboxusercontent.com/u/83869314/ShareX/2015/05/glibc-2.21-r4.apk" && \ apk.static add --allow-untrusted glibc-2.21-r4.apk && \ wget --no-check-certificate "https://dl.dropboxusercontent.com/u/83869314/ShareX/2015/05/glibc-bin-2.21-r4.apk" && \ apk.static add --allow-untrusted glibc-bin-2.21-r4.apk && \ /usr/glibc/usr/bin/ldconfig /lib /usr/glibc/usr/lib && \ rm -rf /var/cache/apk/* && \ wget --no-check-certificate <a href="https://bintray.com/artifact/download/tigervnc/stable/tigervnc-Linux-i686-1.4.3.tar.gz" rel="nofollow">https://bintray.com/artifact/download/tigervnc/stable/tigervnc-Linux-i686-1.4.3.tar.gz</a> && tar zxf tigervnc-Linux-i686-1.4.3.tar.gz ./usr -C / && rm tigervnc-Linux-i686-1.4.3.tar.gz && \ wget --no-check-certificate <a href="http://winetricks.org/winetricks" rel="nofollow">http://winetricks.org/winetricks</a> && chmod +x winetricks && mv winetricks /usr/bin/winetricks && \ adduser -D -s /bin/bash winer USER winer #CMD ["/usr/bin/wine"]
I launch then the container, check that wine 1-7.43 is available
I then create a wine suffix
WINEARCH=win32 WINEPREFIX=/home/winer/.wine winecfg
I decline to install Mono, and then try to install dotnet40
WINEARCH=win32 WINEPREFIX=/home/winer/.wine winetricks -q --unattended dotnet40
I get at the end
Preparing: C:\ea19673678f2a4a293e5b2\Windows6.1-KB958488-v6001-x64.msu... Preparing: C:\ea19673678f2a4a293e5b2\Windows6.1-KB958488-v6001-x86.msu... Preparing: C:\ea19673678f2a4a293e5b2\netfx_Core.mzz... Preparing: C:\ea19673678f2a4a293e5b2\netfx_Extended.mzz... err:winediag:schan_imp_init Failed to load libgnutls, secure connections will not be available. err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. fixme:advapi:RegisterTraceGuidsW (0x6cd15f38, 0x6cd20180, {e2821408-c59d-418f-ad3f-aa4e792aeb79}, 1, 0x33fd10, (null), (null), 0x6cd20188): stub fixme:advapi:RegisterTraceGuidsW register trace class {e2821408-c59d-418f-ad3f-aa4e792aeb79} fixme:heap:RtlSetHeapInformation 0 1 0 0 stub fixme:process:SetProcessDEPPolicy (1): stub fixme:heap:RtlSetHeapInformation 0 1 0 0 stub fixme:thread:SetThreadStackGuarantee (0x33fb48): stub fixme:advapi:LsaOpenPolicy ((null),0x33f434,0x00000001,0x33f420) stub fixme:advapi:LsaClose (0xcafe) stub fixme:ntdll:NtLockFile I/O completion on lock not implemented yet fixme:advapi:LsaOpenPolicy ((null),0x33f284,0x00000001,0x33f270) stub fixme:advapi:LsaClose (0xcafe) stub fixme:advapi:UnregisterTraceGuids deadbeef: stub Using native override for following DLLs: mscoree Executing winetricks_early_wine regedit /S C:\windows\Temp\_dotnet40\override-dll.reg ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full Install 0 REG_DWORD 0001 1 The operation completed successfully ADD - HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full Version 0 REG_SZ 4.0.30319 1 The operation completed successfully ------------------------------------------------------ dotnet40 install completed, but installed file /home/winer/.wine_captvty/dosdevices/c:/windows/Microsoft.NET/Framework/v4.0.30319/ngen.exe not found ------------------------------------------------------
I am on an unprivileged used
~ $ whoami winer
When I try to launch a Windows software that works fine with Debian or Ubuntu, and wine/dotnet40, I get an error message, stating that dotnet40 is not installed.
Has anybody been able to use wine with dotnet40 installed in a container based on alpine linux ?
Thanks for any hint
if it is not possible to install dotnet40 with wine in alpinelinux, do we have on the wiki or somewhere else what components of wine work with Alpine Linux?$
Thanks for any hint