first commit
This commit is contained in:
17
build.sh
Normal file
17
build.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Build the Docker image
|
||||
echo "Building Wine + .NET SDK Docker image..."
|
||||
docker build -t wine-dotnet:latest .
|
||||
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "✅ Docker image built successfully!"
|
||||
echo "To run the container:"
|
||||
echo "docker run -it --rm wine-dotnet:latest"
|
||||
echo ""
|
||||
echo "To run with volume mounting (for development):"
|
||||
echo "docker run -it --rm -v \$(pwd)/projects:/home/wineuser/projects wine-dotnet:latest"
|
||||
else
|
||||
echo "❌ Failed to build Docker image"
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user