bobbai00 opened a new issue, #3928:
URL: https://github.com/apache/texera/issues/3928
### Feature Summary
The computing unit master Docker image
(`bin/computing-unit-master.dockerfile`) currently installs R dependencies by
default, which significantly increases the image size and build time. There
should be a build argument to conditionally enable/disable R support based on
deployment requirements.
### Proposed Solution or Design
Add a `WITH_R_SUPPORT` build argument to
`bin/computing-unit-master.dockerfile` and
`bin/computing-unit-worker.dockerfile` that:
1. **Defaults to `true`** for backward compatibility with existing
deployments
2. **Conditionally installs R dependencies** when set to `true`:
- R-related system packages (gfortran, libreadline, libxml2, etc.)
- R language (version 4.3.3) compilation and installation
- R packages (coro, dplyr, arrow)
- R requirements from `r-requirements.txt`
3. **Skips R installation** when set to `false`:
- Only installs Python dependencies and core system packages
- Significantly reduces image size and build time
### Impact / Priority
(P2)Medium – useful enhancement
### Affected Area
Deployment / Infrastructure
--
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]