🔧 Fix Dockerfile names, PHP version, and CRB repo handling 🔧

- Correct ENV_DOCKERFILE references from double-versioned names (8.8-dev, 9.9-dev) to canonical names (8-dev, 9-dev)
- Set PHP_VERSION to 7.4 instead of system default in both 8-dev and 9-dev env scripts
- Rename CRB repo paths and labels to PowerTools equivalents after fetching repo files in Dockerfile.8-dev

Dockerfile.8-dev
.env.scripts.8-dev
.env.scripts.9-dev
This commit is contained in:
2026-05-04 12:51:15 -04:00
parent c78eb85c46
commit 12c96925ef
3 changed files with 5 additions and 4 deletions
+1
View File
@@ -115,6 +115,7 @@ RUN echo "Setting up dev system"; \
if [ -f "/usr/local/bin/pkmgr" ] ; then rm -Rf "/usr/local/bin/pkmgr"; fi; \
rm -f /etc/yum.repos.d/*crb*.repo 2>/dev/null || true; \
bash -c "$(curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/fetch-repo-file")"; \
sed -i 's|/crb|/powertools|Ig; s|\[casjay-os-crb\]|[casjay-os-powertools]|g; s|AlmaLinux CRB|AlmaLinux PowerTools|g' /etc/yum.repos.d/*.repo 2>/dev/null || true; \
rm -f /etc/yum.repos.d/*crb*.repo 2>/dev/null || true; \
dnf clean all 2>/dev/null || true; \
[ ! -d "/usr/local/share/CasjaysDev/scripts" ] && \