File size: 1,113 Bytes
943fd62 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# Test script to validate Dockerfile changes
Write-Host "Testing Dockerfile changes..." -ForegroundColor Green
# Check if Dockerfile exists
if (Test-Path "Dockerfile") {
Write-Host "✓ Dockerfile found" -ForegroundColor Green
# Check if arabic_fonts_setup.sh exists
if (Test-Path "arabic_fonts_setup.sh") {
Write-Host "✓ arabic_fonts_setup.sh found" -ForegroundColor Green
# Check Dockerfile content for the fixed script execution
$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 |