posit-dev / posit-dev/images-shared
gcc-toolset install macro for Rocky/RHEL-family images
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2
- Forks
- 0
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 22
Description
Problem
Posit's own product images (package-manager/connect/workbench) never compile anything — R, Python, and the products themselves install as prebuilt binaries/RPMs, so bakery has no toolchain-installation macro today. Self-service customers installing arbitrary R/Python packages (e.g., once pak::pkg_sysreqs resolution lands) may need to compile native dependencies from source, especially on older RHEL-family bases lacking newer prebuilt libraries.
container-generator conditionally installs gcc-toolset-{9..14} on Rocky/RHEL and sources it via /etc/bashrc.
Scope
A macro parallel to dnf.j2 for enabling a given gcc-toolset-N on Rocky/RHEL/Alma, including the /etc/bashrc sourcing step.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the existing dnf.j2 macro with container-generator's conditional gcc-toolset installation for Rocky/RHEL-family images. Add the parallel macro for enabling gcc-toolset-N and the /etc/bashrc sourcing step, then verify it covers Rocky, RHEL, and Alma as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, python, r
- Domain
- build-system, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100