The GitHub Actions job "Build" on texera.git/main has succeeded.
Run started by GitHub user bobbai00 (triggered by bobbai00).

Head commit for run:
84976e9439439c1c8f8db57caee04ad8688b020e / Jiadong Bai 
<[email protected]>
feat(dockerfile): add build argument to toggle R support in computing unit 
images (#3929)

## Summary
- Add `WITH_R_SUPPORT` build argument to both
`computing-unit-master.dockerfile` and
`computing-unit-worker.dockerfile`
- Conditionally install R dependencies based on the build flag
- Defaults to `false` to reduce image size and build time when R support
is not needed

## Related Issue
Closes #3928

## Changes
- Added `ARG WITH_R_SUPPORT=false` (default: false for backward
compatibility)
- Conditionally install R-related system packages (gfortran,
libreadline, libxml2, etc.)
- Conditionally compile and install R 4.3.3
- Conditionally install R packages (coro, dplyr, arrow)

## Impact
**Without R support (default):**
- Significantly smaller image size (~500MB+ reduction)
- Faster build time (avoids 10+ minute R compilation)
- Suitable for deployments that don't use R operators

**With R support:**

```bash
docker build --build-arg WITH_R_SUPPORT=true -f 
bin/computing-unit-master.dockerfile .
```

Report URL: https://github.com/apache/texera/actions/runs/18622514521

With regards,
GitHub Actions via GitBox

Reply via email to