This commit is contained in:
2025-11-01 15:50:06 +08:00
parent b30a5b6779
commit c347b12ea7
3 changed files with 122 additions and 7 deletions

View File

@@ -48,8 +48,30 @@ else
echo "1. Check Dockerfile.stable for syntax errors"
echo "2. Verify all required files are present"
echo "3. Check network connectivity for package downloads"
echo "4. Try running with --no-cache flag:"
echo "4. Verify src/main/lib/ directory contains all required JAR files"
echo "5. Try running with --no-cache flag:"
echo " docker build --no-cache -f Dockerfile.stable -t digital-archive:test ."
echo
echo "📋 Checking required files..."
if [ -f "pom.xml" ]; then
echo "✓ pom.xml found"
else
echo "❌ pom.xml missing"
fi
if [ -f "settings.xml" ]; then
echo "✓ settings.xml found"
else
echo "❌ settings.xml missing"
fi
if [ -d "src/main/lib" ]; then
echo "✓ src/main/lib directory found"
echo " JAR files in lib:"
ls -la src/main/lib/*.jar 2>/dev/null || echo " No JAR files found"
else
echo "❌ src/main/lib directory missing"
fi
fi
echo