Skip to content

Commit c7db494

Browse files
committed
ci: Fix error D8037 in cl.exe
1 parent 7dae115 commit c7db494

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

ci/linux-debian.Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
2929
git clone https://github.com/mstorsjo/msvc-wine && \
3030
mkdir /opt/msvc && \
3131
python3 msvc-wine/vsdownload.py --accept-license --dest /opt/msvc Microsoft.VisualStudio.Workload.VCTools && \
32-
msvc-wine/install.sh /opt/msvc
33-
34-
# Initialize the wine environment. Wait until the wineserver process has
35-
# exited before closing the session, to avoid corrupting the wine prefix.
36-
RUN wine64 wineboot --init && \
32+
# Since commit 2146cbfaf037e21de56c7157ec40bb6372860f51, the
33+
# msvc-wine effectively initializes the wine prefix when running
34+
# the install.sh script.
35+
msvc-wine/install.sh /opt/msvc && \
36+
# Wait until the wineserver process has exited before closing the session,
37+
# to avoid corrupting the wine prefix.
3738
while (ps -A | grep wineserver) > /dev/null; do sleep 1; done

0 commit comments

Comments
 (0)