- Add mirror list to urpmi and use Rx3 internal & external mirrors first.

This commit is contained in:
Arnaud G. GIBERT 2024-10-02 14:14:54 +02:00
parent ae9fa2dba6
commit e9bafeed3f
3 changed files with 13 additions and 2 deletions

2
.env
View File

@ -17,7 +17,7 @@ IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
IMG_NAME="base-mga9" IMG_NAME="base-mga9"
IMG_FULL_NAME="Rx3 Base Mageia-9 Docker Image" IMG_FULL_NAME="Rx3 Base Mageia-9 Docker Image"
IMG_VERSION="1.2.4" IMG_VERSION="1.2.5"
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}" IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>' IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'

View File

@ -22,12 +22,15 @@ alias ll="ls -la"
alias em="emacs"' alias em="emacs"'
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
ARG MIRRORLIST='http://mirror.xor.rx3/mageia/distrib/9/x86_64 http://mirror.rx3.net/mageia/distrib/9/x86_64 ftp://ftp.proxad.net/mirrors/mageia.org/distrib/9/x86_64 http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/9/x86_64'
RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf \ RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf \
&& ln -s /usr/share/zoneinfo/${LOCALTIME} /etc/localtime \ && ln -s /usr/share/zoneinfo/${LOCALTIME} /etc/localtime \
&& urpmi.removemedia -a \ && urpmi.removemedia -a \
&& urpmi.addmedia --distrib http://ftp.free.fr/mirrors/mageia.org/distrib/9/x86_64 \ && rm -f /var/cache/urpmi/mirrors.cache \
&& urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST}" \
&& urpmi.update --no-ignore "Nonfree Release" "Nonfree Updates" "Tainted Release" "Tainted Updates" \ && urpmi.update --no-ignore "Nonfree Release" "Nonfree Updates" "Tainted Release" "Tainted Updates" \
&& urpmi.update -a \ && urpmi.update -a \
&& urpmi --force --replacepkgs glibc locales locales-en \ && urpmi --force --replacepkgs glibc locales locales-en \

View File

@ -1,3 +1,11 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3/Base-Mga9 V 1.2.5 - A. GIBERT - 2024/10/02
------------------------------------------------------------------------------------------------------------------------------------
- Add mirror list to urpmi and use Rx3 internal & external mirrors first.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
Rx3/Base-Mga9 V 1.2.4 - A. GIBERT - 2024/08/28 Rx3/Base-Mga9 V 1.2.4 - A. GIBERT - 2024/08/28
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------