mirror of
https://github.com/dockersrc/almalinux
synced 2026-06-30 17:45:54 -04:00
🔧 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:
@@ -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" ] && \
|
||||
|
||||
Reference in New Issue
Block a user