Registry writes lost during docker build
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -104,14 +104,14 @@ RUN set -x -e; \
|
||||
PATH_VALUE=${PATH_TRIMMED_LEFT%${PATH_TRIMMED_LEFT##*[![:space:]]}}; \
|
||||
wine reg add "HKLM\\SYSTEM\\CurrentControlSet\\Control\Session Manager\\Environment" /v PATH /t REG_EXPAND_SZ /d "C:\\Users\\root\\Eazfuscator\\Launcher;$PATH_VALUE" /f; \
|
||||
wine reg add "HKLM\\SYSTEM\\CurrentControlSet\\Control\Session Manager\\Environment" /v EAZFUSCATOR_NET_LICENSE /t REG_SZ /d "536RNHZY-8TQG3WNN-SABF783J-Y9UPYU8A-FUT7B3NC-AP7KLK74-QJD4TAVA-S3C4PC8P"; \
|
||||
# HACK: Wait for the registry writes to complete in Wine
|
||||
# (see more at https://serverfault.com/questions/1082578/wine-in-docker-reg-add-only-keeps-effects-temporarily)
|
||||
sleep 20; \
|
||||
# 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; \
|
||||
# HACK: Wait for the registry writes to complete in Wine
|
||||
# (see more at https://serverfault.com/questions/1082578/wine-in-docker-reg-add-only-keeps-effects-temporarily)
|
||||
sleep 20; \
|
||||
# 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