unstable installation with wine in Docker

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
RamiAlbasha
Newbie
Newbie
Posts: 1
Joined: Fri Jun 13, 2025 8:36 am

unstable installation with wine in Docker

Post by RamiAlbasha »

I’m trying to build a docker image from ubuntu and to run a windows application into this image. I use for this aim wintricks to install .NET framework 4.8 and wine to launch an offline installer. The build is successful on local machine (OS windows 11 Pro) and takes about 10 minutes. However, it timesout when run on remote with GitHub CI (I set the timeout to 60 minutes, otherwise it may take hours without success). Here’s the Dockerfile used :

Code: Select all

ARG BUILDPLATFORM=linux/amd64
FROM --platform=$BUILDPLATFORM ubuntu:latest

# enable 32-bit architecture
RUN dpkg --add-architecture i386

# add WineHQ repository
## install dependancies
RUN apt-get update && apt-get install --no-install-recommends -y \
  ca-certificates \
  wget \
  && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
  && rm -rf /var/lib/apt/lists/*

## Add Wine GPG key
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key

## add the Wine repository
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/noble/winehq-noble.sources


# install WineHQ, winetricks and .NET 4.8
RUN apt update && apt-get install -y --no-install-recommends \
  winehq-stable \
  winetricks \
  && apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false \
  && rm -rf /var/lib/apt/lists/* \
  && winetricks -q dotnet48 --force \
  && apt-get -y purge winetricks \
  && apt-get -y autoremove

# copy the offline installer folder
COPY offline_installer/ /offline_installer
RUN apt update \
  && wine /offline_installer/setup.exe /quiet

and a snapshot of the (repeated) error messages:

Code: Select all

#12 715.6 0320:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 767B09AD, 28) stub
#12 715.7 0488:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
#12 715.7 0488:fixme:advapi:DeregisterEventSource (CAFE4242) stub
#12 715.7 0320:fixme:ver:GetCurrentPackageId (0051ECF8 00000000): stub
#12 715.7 0320:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0051F1B8
#12 715.7 0320:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 767A0000) stub
#12 715.7 0320:fixme:virtual:prefetch_memory (process=0xffffffff,flags=0) NtSetInformationVirtualMemory(VmPrefetchInformation) partial stub
#12 716.0 0320:fixme:wofutil:WofShouldCompressBinaries L"C:\\", 0051EDB4
#12 716.0 0320:fixme:security:SetCachedSigningLevel 0051E604 17 0 000001D0 - stub
#12 716.0 0320:fixme:virtual:NtFlushProcessWriteBuffers stub
#12 716.0 0488:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
#12 716.0 0488:fixme:advapi:DeregisterEventSource (CAFE4242) stub
#12 716.0 0320:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0051FED4
#12 716.0 0488:err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706be
#12 716.1 0274:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
#12 716.1 0274:fixme:seh:WerSetFlags (2) stub
#12 716.1 0274:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
#12 716.1 0274:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 79653241, 28) stub
#12 716.1 0274:fixme:ver:GetCurrentPackageId (0051F1E4 00000000): stub
#12 716.1 0274:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 767B09AD, 28) stub
#12 716.2 0274:fixme:ver:GetCurrentPackageId (0051EDE0 00000000): stub
#12 716.2 0274:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0051F2F0
#12 716.2 0274:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 767A0000) stub
#12 716.3 0274:fixme:virtual:NtFlushProcessWriteBuffers stub
#12 716.3 0274:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0051FED4
#12 716.4 045c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
#12 716.4 045c:fixme:seh:WerSetFlags (2) stub
#12 716.4 045c:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
#12 716.4 045c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 79653241, 28) stub
#12 716.4 045c:fixme:ver:GetCurrentPackageId (0051F1E4 00000000): stub
#12 716.4 045c:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 767B09AD, 28) stub
#12 716.5 0488:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
#12 716.5 0488:fixme:advapi:DeregisterEventSource (CAFE4242) stub
#12 716.5 045c:fixme:ver:GetCurrentPackageId (0051ECF8 00000000): stub
#12 716.5 045c:fixme:heap:GetNumaHighestNodeNumber semi-stub: 0051F1B8
#12 716.5 045c:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 767A0000) stub
#12 716.5 045c:fixme:virtual:prefetch_memory (process=0xffffffff,flags=0) NtSetInformationVirtualMemory(VmPrefetchInformation) partial stub
#12 716.7 045c:fixme:wofutil:WofShouldCompressBinaries L"C:\\", 0051EDB4
#12 716.7 045c:fixme:security:SetCachedSigningLevel 0051E604 19 0 000001E0 - stub
#12 716.7 045c:fixme:virtual:NtFlushProcessWriteBuffers stub
#12 716.7 0488:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
#12 716.7 0488:fixme:advapi:DeregisterEventSource (CAFE4242) stub
#12 716.7 045c:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0051FED4
#12 716.8 00d8:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub
#12 716.8 00d8:fixme:advapi:DeregisterEventSource (CAFE4242) stub
#12 716.8 0090:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFA, 0051FED4
#12 716.8 0090:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 79A43241, 28) stub	
Any idea where this may come from?
Post Reply