5 Commits

Author SHA1 Message Date
f378119ad0 - Add file_disenable() function,
- Rebuild for updates.
2025-06-26 17:57:13 +02:00
5095c8d9ac - Add Rx3 testing media source,
- Rebuild for updates.
2025-05-28 17:05:23 +02:00
77ed04d07b - Add i586 arch,
- Rebuild for updates.
2025-04-13 10:37:16 +02:00
db9a0b4279 - Add Rx3 urpmi media source,
- Rebuild for updates.
2025-03-08 11:39:42 +01:00
065a98426c - Fix compose indetation. 2024-11-11 23:04:02 +01:00
5 changed files with 96 additions and 32 deletions

View File

@@ -19,7 +19,7 @@ ARG RX3_SH='export PAGER=less
export MANPAGER="less -isr" \n\
export EDITOR=emacs \n\
\n\
function cateval \n\
cateval() \n\
{ \n\
while read line \n\
do \n\
@@ -28,11 +28,36 @@ function cateval
done <$1 \n\
} \n\
\n\
export -f cateval \n\
\n\
file_disenable() \n\
{ \n\
fd_file="$1" \n\
fd_state="$2" \n\
\n\
\n\
if [[ "$fd_state" == "TRUE" ]] \n\
then \n\
if [[ ! -f "${fd_file}" ]] \n\
then \n\
mv ${fd_file}.disable ${fd_file} \n\
fi \n\
else \n\
if [[ -f "${fd_file}" ]] \n\
then \n\
mv ${fd_file} ${fd_file}.disable \n\
fi \n\
fi \n\
} \n\
\n\
export -f file_disenable \n\
\n\
alias ll="ls -la" \n\
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'
ARG MIRRORLIST_MGA='http://mirror.xor.rx3/mageia/distrib/9/x86_64 https://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'
ARG MIRRORLIST_RX3='http://mirror.xor.rx3/rx3/distrib/9/x86_64 https://mirror.rx3.net/rx3/distrib/9/x86_64'
ARG GIT_MPM_REPO='https://git.rx3.org/gitea/Rx3/mpm/raw/tag/mpm-1.0.0'
@@ -42,8 +67,9 @@ RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf
&& ln -s /usr/share/zoneinfo/${LOCALTIME} /etc/localtime \
&& urpmi.removemedia -a \
&& 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.addmedia --distrib --mirrorlist "${MIRRORLIST_MGA}" \
&& urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST_RX3}" \
&& for arch in "" "32bit "; do for media in "Core" "Nonfree" "Tainted"; do for type in "Release" "Updates"; do urpmi.update --no-ignore "${media} ${arch}${type}"; done; done; done \
&& urpmi.update -a \
&& urpmi --force --replacepkgs glibc locales locales-en \
&& rpm -e $(rpm -qa | grep -e python -e dnf) gobject-introspection \

View File

@@ -6,11 +6,14 @@ This project aims to build a Mageia base docker image to be used by other Rx3 pa
Features:
- Curtently based on official Mageia 9 docker image from github.io,
- Enable urpmi "Core", "Nonfree" and "Tainted" medium from mirror list:
- Enable urpmi "Core", "Nonfree" and "Tainted" medium (x86-64 + i586) from mirror list:
- http://mirror.xor.rx3/,
- http://mirror.rx3.net/,
- https://mirror.rx3.net/,
- ftp://ftp.proxad.net/,
- http://distrib-coffee.ipsl.jussieu.fr/,
- Enable urpmi "Rx3" default and testings (disabled) media from mirror list:
- http://mirror.xor.rx3/,
- https://mirror.rx3.net/,
- Add Rx3 bash seting,
- Mono layered (Mageia + Rx3 Updates),
- Strip down base (python & dnf removed).

View File

@@ -1,3 +1,38 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.4 - A. GIBERT - 2025/06/26
------------------------------------------------------------------------------------------------------------------------------------
- Add file_disenable() function,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.3 - A. GIBERT - 2025/05/28
------------------------------------------------------------------------------------------------------------------------------------
- Add Rx3 testing media source,
- Rebuild for updates.
Rx3-Docker/Base V 1.3.2 - A. GIBERT - 2025/04/13
------------------------------------------------------------------------------------------------------------------------------------
- Add i586 arch,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.1 - A. GIBERT - 2025/03/08
------------------------------------------------------------------------------------------------------------------------------------
- Add Rx3 urpmi media source,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.0 - A. GIBERT - 2024/11/10
------------------------------------------------------------------------------------------------------------------------------------
@@ -9,7 +44,7 @@ Rx3-Docker/Base V 1.3.0 - A. GIBERT - 2024/11/10
- Strip down the base:
- Remove python,
- Remove dnf,
- Rmove xz,
- Remove xz,
- Remove unused libraries.

View File

@@ -1,4 +1,4 @@
# Rx3-Docker/Base Mageia Docker Image
# Rx3-Docker/Base Docker Image
#-------------------------------------------------------------------------------
name: ${IMG_NAME}
@@ -14,12 +14,12 @@ services:
build:
context: .
args:
- IMG_NAME=${IMG_NAME}
- IMG_NAME_FULL=${IMG_NAME_FULL}
- IMG_VERSION=${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER}
- LANG=${LANG}
- LANGUAGE=${LANGUAGE}
- LOCALTIME=${LOCALTIME}
IMG_NAME: ${IMG_NAME}
IMG_NAME_FULL: ${IMG_NAME_FULL}
IMG_VERSION: ${IMG_VERSION}
IMG_MAINTAINER: ${IMG_MAINTAINER}
LANG: ${LANG}
LANGUAGE: ${LANGUAGE}
LOCALTIME: ${LOCALTIME}
restart: unless-stopped

View File

@@ -18,7 +18,7 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
IMG_NAME="base"
IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
IMG_VERSION="1.3.0-mga9"
IMG_VERSION="1.3.4-mga9"
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
IMG_URL_PREFIX="${ORG_URL_PREFIX}"