Question 1
Is this known to be impossible? I found conflicts between the AWS Lambda Python and Node interface libraries and 32-bit architecture and inferred Lambda has no 32-bit interface code. Now I believe multi-architecture will support both 32-bit and 64-bit code, but have yet to test this.
At this point I am trying to call
Code: Select all
dyalogrt.exe reverse.dws
Question 2
Wine is a graphical application and assumes use of a GUI. Rather than configure a GUI then carefully not use it, is there a way to configure Wine for headless use?
viewtopic.php?t=37535 is the only source I’ve found on running Wine with a CUI.
Dockerfile:
Code: Select all
FROM ubuntu:22.04
# Enable 32-bit architecture
RUN dpkg --add-architecture i386
RUN apt update
RUN apt-get install --assume-yes wget
# Add the repository
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
# Download the WineHQ sources file
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
# Update package information
RUN apt update
# Install WineHQ
RUN apt install --install-recommends --assume-yes winehq-stable
WORKDIR /app
COPY dyalogrt.exe reverse.dws input.txt /app
ENTRYPOINT ["/bin/bash"]
Code: Select all
root@e3ec5bdd4935:/app# WINEDLLOVERRIDES="explorer.exe=d" wineconsole dyalogrt.exe reverse.dws
0034:err:win:get_desktop_window failed to start explorer c0000135
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0084:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
00e0:err:win:get_desktop_window failed to start explorer c0000135
00e0:fixme:ole:CoInitializeSecurity 0000000000000000, -1, 0000000000000000, 0000000000000000, 1, 3, 0000000000000000, 0, 0000000000000000 stub
00e0:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00e0:err:winediag:nodrv_CreateWindow L"The explorer process failed to start."
00e0:fixme:ver:GetCurrentPackageId (000000000041FDA0 0000000000000000): stub
root@e3ec5bdd4935:/app#
If there is no headless configuration, how can I configure Wine’s GUI minimally for headless use?