Use VisualStudioMock.exe (still not fully working)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -38,7 +38,9 @@ RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WAR
|
||||
&& dpkg --add-architecture i386 \
|
||||
&& apt-get update \
|
||||
&& DEBIAN_FRONTEND="noninteractive" apt-get install -y --install-recommends wine-${WINE_BRANCH} \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
&& rm -rf /var/lib/apt/lists/* \
|
||||
&& sed -i -E "s:PATH=\"?([^\"]*)\"?:PATH=/opt/wine-stable/bin\:\1:g" /etc/environment \
|
||||
&& export PATH=/opt/wine-stable/bin:$PATH
|
||||
|
||||
COPY entrypoint.sh /usr/bin/entrypoint
|
||||
|
||||
@@ -63,6 +65,7 @@ ENV DISPLAY ":95"
|
||||
ENV WINEARCH win32
|
||||
|
||||
COPY tools/* /root/.wine/drive_c/windows/system32/
|
||||
COPY VisualStudioMock/bin/Release/net472/VisualStudioMock.exe /root/.wine/drive_c/VisualStudioMock.exe
|
||||
|
||||
RUN set -x -e; \
|
||||
# Install dotnet
|
||||
@@ -102,6 +105,8 @@ RUN set -x -e; \
|
||||
# Install socat to temporarily overcome bug until dotnet 9 gets released and have the bug https://github.com/dotnet/runtime/issues/98441 fixed
|
||||
apt update; \
|
||||
apt install -y --no-install-recommends socat; \
|
||||
# Register VisualStudioMock
|
||||
wine "c:\\VisualStudioMock.exe" /reg; \
|
||||
# Clean-up
|
||||
rm -rf /tmp/eaz.zip /tmp/eaz /tmp/dotnet.exe /tmp/chk /var/lib/apt/lists/*; \
|
||||
# Complete
|
||||
|
||||
Reference in New Issue
Block a user