nddipiazza commented on PR #1:
URL: https://github.com/apache/tika-grpc-docker/pull/1#issuecomment-3693271167

   ## ✅ Full Circle Build Test - SUCCESSFUL
   
   Successfully tested the complete workflow of building a Docker image from 
the TIKA-4578 source branch.
   
   ### Changes in Latest Update
   
   **Simplified build-from-branch.sh:**
   - Removed Ignite-specific handling (unnecessary - plugins load at runtime 
via config)
   - Removed `-i` flag and Dockerfile.ignite
   - All plugins (including Ignite) are configured via tika-config.xml at 
runtime, not at build time
   
   **Added Dockerfile.source:**
   - Multi-stage build that clones Git repo and builds tika-grpc
   - Stage 1: Maven build from source
   - Stage 2: Runtime image with full dependencies (Tesseract, GDAL, fonts)
   
   ### Test Results
   
   ```bash
   ./build-from-branch.sh -b TIKA-4578 -t tika-4578-test
   ```
   
   **✅ Build successful:**
   - Build time: ~4 minutes
   - Image created: apache/tika-grpc:tika-4578-test (737MB)
   - Base: Ubuntu Noble + OpenJDK 17
   
   **✅ Image functional:**
   ```bash
   $ docker run --rm apache/tika-grpc:tika-4578-test --help
   Usage: <main class> [options]
     Options:
       -c, --config      The tika config file
       -l, --plugins     The tika pipes plugins config file
       -p, --port        The grpc server port
       ...
   ```
   
   ### Summary
   
   The repository now supports two build paths:
   
   1. **Development (now):** `build-from-branch.sh` - builds from any Git branch
   2. **Production (future):** `docker-tool.sh` - builds from GPG-signed 
releases
   
   Both paths tested and working! 🎉


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to