Enhance Dockerfile and entrypoint: update Wine installation process for improved security and add integration test script for Wine and .NET
This commit is contained in:
@@ -12,6 +12,14 @@ export DOTNET_ROOT=/usr/share/
|
||||
Xvfb :99 -screen 0 1024x768x16 &
|
||||
export DISPLAY=:99.0
|
||||
|
||||
# Initialize Wine prefix if it doesn't exist
|
||||
if [ ! -d "$WINEPREFIX" ]; then
|
||||
echo "Initializing Wine prefix..."
|
||||
wineboot --init
|
||||
winetricks -q corefonts
|
||||
echo "Wine initialization complete."
|
||||
fi
|
||||
|
||||
# print the dotnet version on startup
|
||||
printf "\033[1m\033[33mcontainer@pelican~ \033[0mdotnet --version\n"
|
||||
dotnet --version
|
||||
|
Reference in New Issue
Block a user