|
|
| Write-Host "Testing Dockerfile changes..." -ForegroundColor Green
|
|
|
|
|
| if (Test-Path "Dockerfile") {
|
| Write-Host "✓ Dockerfile found" -ForegroundColor Green
|
|
|
|
|
| if (Test-Path "arabic_fonts_setup.sh") {
|
| Write-Host "✓ arabic_fonts_setup.sh found" -ForegroundColor Green
|
|
|
|
|
| $dockerfileContent = Get-Content "Dockerfile" -Raw
|
| if ($dockerfileContent -match "if \[ -f `"arabic_fonts_setup.sh`" \]") {
|
| Write-Host "✓ Dockerfile has the fixed script execution logic" -ForegroundColor Green
|
| } else {
|
| Write-Host "✗ Dockerfile is missing the fixed script execution logic" -ForegroundColor Red
|
| }
|
| } else {
|
| Write-Host "✗ arabic_fonts_setup.sh not found" -ForegroundColor Red
|
| }
|
| } else {
|
| Write-Host "✗ Dockerfile not found" -ForegroundColor Red
|
| }
|
|
|
| Write-Host "Dockerfile validation complete." -ForegroundColor Green |