mirror of
https://github.com/dockersrc/almalinux
synced 2026-09-14 00:35:44 -04:00
♻️ rename casjay-base/centos and pkmgr/centos references to rhel
Build and Push 10-dev / build (push) Waiting to run
Build and Push 10 / build (push) Waiting to run
Build and Push 8-dev / build (push) Waiting to run
Build and Push 8 / build (push) Waiting to run
Build and Push 9-dev / build (push) Waiting to run
Build and Push 9 / build (push) Waiting to run
Build and Push / build (push) Waiting to run
Build and Push 10-dev / build (push) Waiting to run
Build and Push 10 / build (push) Waiting to run
Build and Push 8-dev / build (push) Waiting to run
Build and Push 8 / build (push) Waiting to run
Build and Push 9-dev / build (push) Waiting to run
Build and Push 9 / build (push) Waiting to run
Build and Push / build (push) Waiting to run
- update hardcoded repo URLs/paths to the renamed casjay-base/rhel and pkmgr/rhel GitHub repos (formerly centos), following the org-wide centos->rhel rename since the repos now target the whole RHEL family (RHEL, CentOS Stream, AlmaLinux, Rocky, Oracle Linux), not just CentOS Files changed: - Dockerfile.8-dev: rename centos->rhel references - Dockerfile.9-dev: rename centos->rhel references
This commit is contained in:
+2
-2
@@ -114,7 +114,7 @@ RUN echo "Initializing packages before copying files to image"; \
|
|||||||
RUN echo "Setting up dev system"; \
|
RUN echo "Setting up dev system"; \
|
||||||
if [ -f "/usr/local/bin/pkmgr" ] ; then rm -Rf "/usr/local/bin/pkmgr"; fi; \
|
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; \
|
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")"; \
|
bash -c "$(curl -q -LSsf "https://github.com/casjay-base/rhel/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; \
|
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; \
|
rm -f /etc/yum.repos.d/*crb*.repo 2>/dev/null || true; \
|
||||||
dnf clean all 2>/dev/null || true; \
|
dnf clean all 2>/dev/null || true; \
|
||||||
@@ -122,7 +122,7 @@ RUN echo "Setting up dev system"; \
|
|||||||
git clone -q https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
|
git clone -q https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
|
||||||
/usr/local/share/CasjaysDev/scripts/install.sh; \
|
/usr/local/share/CasjaysDev/scripts/install.sh; \
|
||||||
dnf module -y reset php;dnf module -y install php:remi-$PHP_VERSION; \
|
dnf module -y reset php;dnf module -y install php:remi-$PHP_VERSION; \
|
||||||
pkg="$(curl -q -LSsf "https://github.com/pkmgr/centos/raw/main/lists/development.list")"; \
|
pkg="$(curl -q -LSsf "https://github.com/pkmgr/rhel/raw/main/lists/development.list")"; \
|
||||||
[ -n "$pkg" ] && yum install -yy --skip-broken "$pkg"
|
[ -n "$pkg" ] && yum install -yy --skip-broken "$pkg"
|
||||||
|
|
||||||
COPY ./rootfs/. /
|
COPY ./rootfs/. /
|
||||||
|
|||||||
+2
-2
@@ -108,12 +108,12 @@ RUN echo "Setting up and installing packages"; \
|
|||||||
|
|
||||||
RUN echo "Setting up dev system"; \
|
RUN echo "Setting up dev system"; \
|
||||||
if [ -f "/usr/local/bin/pkmgr" ] ; then rm -Rf "/usr/local/bin/pkmgr"; fi; \
|
if [ -f "/usr/local/bin/pkmgr" ] ; then rm -Rf "/usr/local/bin/pkmgr"; fi; \
|
||||||
bash -c "$(curl -q -LSsf "https://github.com/casjay-base/centos/raw/main/root/.local/bin/fetch-repo-file")"; \
|
bash -c "$(curl -q -LSsf "https://github.com/casjay-base/rhel/raw/main/root/.local/bin/fetch-repo-file")"; \
|
||||||
[ ! -d "/usr/local/share/CasjaysDev/scripts" ] && \
|
[ ! -d "/usr/local/share/CasjaysDev/scripts" ] && \
|
||||||
git clone -q https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
|
git clone -q https://github.com/casjay-dotfiles/scripts "/usr/local/share/CasjaysDev/scripts" && \
|
||||||
/usr/local/share/CasjaysDev/scripts/install.sh; \
|
/usr/local/share/CasjaysDev/scripts/install.sh; \
|
||||||
dnf module -y reset php;dnf module -y install php:remi-$PHP_VERSION; \
|
dnf module -y reset php;dnf module -y install php:remi-$PHP_VERSION; \
|
||||||
pkg="$(curl -q -LSsf "https://github.com/pkmgr/centos/raw/main/lists/development.list")"; \
|
pkg="$(curl -q -LSsf "https://github.com/pkmgr/rhel/raw/main/lists/development.list")"; \
|
||||||
[ -n "$pkg" ] && yum install -yy --skip-broken "$pkg"
|
[ -n "$pkg" ] && yum install -yy --skip-broken "$pkg"
|
||||||
|
|
||||||
RUN echo "Initializing packages before copying files to image"; \
|
RUN echo "Initializing packages before copying files to image"; \
|
||||||
|
|||||||
Reference in New Issue
Block a user