test
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user