14 Commits

Author SHA1 Message Date
70f5e3787f - Update to mpm 1.1.0 RPM,
- Use now rx3-base 1.0.0 RPM,
- Rebuild for updates.
2026-03-17 19:22:37 +01:00
f07cca6df2 - Add line shading in isl_dump_html function. 2026-02-16 08:52:35 +01:00
9175496bde - Improve ISL management. 2026-02-14 12:08:21 +01:00
a07e6d6fc6 - Add Image Stacking Log functions,
- Add ISL support,
- Rebuild for updates.
2026-02-13 19:19:39 +01:00
e9109899d7 - Finally rename file_disable into file_enable! 2025-11-28 10:33:17 +01:00
8c8276691d - Fix file_disable function export. 2025-11-28 10:12:07 +01:00
e64e12a8dd - Rebuild for updates,
- Rename file_disenable function into file_disable.
2025-11-28 10:01:41 +01:00
c8b8c35970 - Rebuild for updates. 2025-09-19 17:22:57 +02:00
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
c2b1abf29d - Move & Rename repo from Rx3/Base-MGA9 to Rx3-Docker/Base,
- New version naming standard,
- Now use docker_tools for .env building,
- Add ceteval bash function,
- Strip down the base:
  - Remove python,
  - Remove dnf,
  - Rmove xz,
  - Remove unused libraries.
2024-11-10 23:20:19 +01:00
5 changed files with 152 additions and 60 deletions

View File

@@ -1,8 +1,9 @@
# Rx3 Base Mageia-9 Docker Image # Rx3-Docker/Base Docker Image
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
FROM mageia:9 FROM mageia:9
ARG IMG_URL
ARG LANG ARG LANG
ARG LANGUAGE ARG LANGUAGE
ARG LOCALTIME ARG LOCALTIME
@@ -14,49 +15,39 @@ ARG LOCALE_CONF="LANG=${LANG}
LANGUAGE=${LANGUAGE}" LANGUAGE=${LANGUAGE}"
#--------------------------------------------------------------------------------------------------- #---------------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------
ARG RX3_SH='export PAGER=less \n\
export MANPAGER="less -isr" \n\
export EDITOR=emacs \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 GIT_MPM_REPO='https://git.rx3.org/gitea/Rx3/mpm/raw/tag/mpm-1.0.0' 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'
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 \
&& rm -f /var/cache/urpmi/mirrors.cache \ && rm -f /var/cache/urpmi/mirrors.cache \
&& urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST}" \ && urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST_MGA}" \
&& urpmi.update --no-ignore "Nonfree Release" "Nonfree Updates" "Tainted Release" "Tainted Updates" \ && urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST_RX3}" \
&& urpmi.update -a \ && 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 --force --replacepkgs glibc locales locales-en \ && urpmi.update -a \
&& urpmi --force xz \ && urpmi --force --replacepkgs glibc locales locales-en \
&& urpmi --force --auto-update \ && rpm -e $(rpm -qa | grep -e python -e dnf) gobject-introspection \
&& rm -f /var/log/dnf* /var/log/hawkey.log \ && rpm -e lib64comps0 lib64gio2.0_0 lib64girepository1.0_1 lib64glib-gir2.0 lib64gpgme11 lib64modulemd2 lib64modulemd-gir2.0 lib64mpdec3 lib64nsl2 lib64repo0 lib64rpmsign9 lib64solv1 lib64yaml0_2 lib64zck1 \
&& echo -e "${RX3_SH}" | sed -e "s/\`/'/g" -e 's/ *$//' >/etc/profile.d/rx3.sh && urpmi --force --auto-update \
&& urpmi --force rx3-base mpm \
&& rm -f /var/log/dnf* /var/log/hawkey.log \
&& . /etc/profile.d/rx3.sh && isl_add ${IMG_URL}
ADD ${GIT_MPM_REPO}/sbin/mpm /usr/local/sbin
ADD ${GIT_MPM_REPO}/etc/mpm.conf /etc
RUN chmod u+x /usr/local/sbin/mpm
#COPY usr/local/sbin/mpm /usr/local/sbin
#COPY etc/mpm.conf /etc
FROM scratch FROM scratch
ARG IMG_NAME ARG IMG_NAME
ARG IMG_FULL_NAME ARG IMG_NAME_FULL
ARG IMG_VERSION ARG IMG_VERSION
ARG IMG_MAINTAINER ARG IMG_MAINTAINER
LABEL org.rx3.${IMG_NAME}.name=${IMG_FULL_NAME} LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION} LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER} LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER}
LABEL maintainer=${IMG_MAINTAINER} LABEL maintainer=${IMG_MAINTAINER}
@@ -64,5 +55,7 @@ LABEL maintainer=${IMG_MAINTAINER}
COPY --from=0 / / COPY --from=0 / /
CMD ["/bin/bash"] CMD ["/bin/bash"]
ENTRYPOINT [] ENTRYPOINT []

View File

@@ -1,18 +1,25 @@
Welcome to Rx3/Base-Mga9 docker image! Welcome to Rx3-Docker/Base docker image!
This is project aims to build a Mageia 9 base docker image to be used by others Rx3 packaging projects. This project aims to build a Mageia base docker image to be used by other Rx3 packaging projects.
Features: Features:
- Curtently based on official Mageia9 docker image from github.io, - 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.xor.rx3/,
- http://mirror.rx3.net/, - https://mirror.rx3.net/,
- ftp://ftp.proxad.net/, - ftp://ftp.proxad.net/,
- http://distrib-coffee.ipsl.jussieu.fr/, - http://distrib-coffee.ipsl.jussieu.fr/,
- Add Rx3 bash seting, - Enable urpmi "Rx3" default and testings (disabled) media from mirror list:
- Mono layered (Mageia + Rx3 Updates). - http://mirror.xor.rx3/,
- https://mirror.rx3.net/,
- Add Rx3 Base bash settings & libraries,
- Add Meta Package Manager (MPM),
- Mono layered (Mageia + Rx3 Updates),
- Strip down base (python & dnf removed),
- Image stacking log support.
Enjoy it! Enjoy it!
@@ -20,4 +27,4 @@ Enjoy it!
Your Rx3 Team. Your Rx3 Team.
arnaud@rx3.net arnaud@rx3.net
https://git.rx3.org/gitea/rx3/base-mga9 https://git.rx3.org/gitea/rx3-docker/base

View File

@@ -1,3 +1,91 @@
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.4.1 - A. GIBERT - 2026/03/17
------------------------------------------------------------------------------------------------------------------------------------
- Update to mpm 1.1.0 RPM,
- Use now rx3-base 1.0.0 RPM,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.4.0 - A. GIBERT - 2026/02/16
------------------------------------------------------------------------------------------------------------------------------------
- Add Image Stacking Log functions,
- Add ISL support,
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.6 - A. GIBERT - 2025/11/28
------------------------------------------------------------------------------------------------------------------------------------
- Rebuild for updates,
- Rename file_disenable function into file_enable.
------------------------------------------------------------------------------------------------------------------------------------
Rx3-Docker/Base V 1.3.5 - A. GIBERT - 2025/09/19
------------------------------------------------------------------------------------------------------------------------------------
- Rebuild for updates.
------------------------------------------------------------------------------------------------------------------------------------
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
------------------------------------------------------------------------------------------------------------------------------------
- Move & Rename repo from Rx3/Base-MGA9 to Rx3-Docker/Base,
- New version naming standard,
- Now use docker_tools for .env building,
- Add ceteval bash function,
- Strip down the base:
- Remove python,
- Remove dnf,
- Remove xz,
- Remove unused libraries.
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------
Rx3/Base-Mga9 V 1.2.6 - A. GIBERT - 2024/10/04 Rx3/Base-Mga9 V 1.2.6 - A. GIBERT - 2024/10/04
------------------------------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------------------------------

View File

@@ -1,24 +1,26 @@
# Rx3 Base Mageia-9 Docker Image # Rx3-Docker/Base Docker Image
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
name: ${IMG_NAME} name: ${IMG_NAME}
services: services:
default: base:
container_name: ${IMG_NAME} container_name: ${IMG_NAME}
hostname: ${IMG_NAME}
image: ${IMG_URL} image: ${IMG_URL}
build: build:
context: . context: .
args: args:
- IMG_NAME=${IMG_NAME} IMG_NAME: ${IMG_NAME}
- IMG_FULL_NAME=${IMG_FULL_NAME} IMG_NAME_FULL: ${IMG_NAME_FULL}
- IMG_VERSION=${IMG_VERSION} IMG_VERSION: ${IMG_VERSION}
- IMG_MAINTAINER=${IMG_MAINTAINER} IMG_MAINTAINER: ${IMG_MAINTAINER}
- LANG=${LANG} IMG_URL: ${IMG_URL}
- LANGUAGE=${LANGUAGE} LANG: ${LANG}
- LOCALTIME=${LOCALTIME} LANGUAGE: ${LANGUAGE}
LOCALTIME: ${LOCALTIME}
restart: unless-stopped restart: unless-stopped

View File

@@ -1,13 +1,14 @@
# Rx3 Base Mageia-9 Docker Image # Rx3-Docker/Base Docker Image
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Global Settings # Global Settings
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
IMG_ORG="rx3" ORG_NAME="rx3-docker"
IMG_REGISTRY="docker.xor.rx3:5000" ORG_REGISTRY="docker.xor.rx3:5000"
IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
@@ -15,12 +16,13 @@ IMG_URL_PREFIX="${IMG_REGISTRY}/${IMG_ORG}"
# Image Settings # Image Settings
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
IMG_NAME="base-mga9" IMG_NAME="base"
IMG_FULL_NAME="Rx3 Base Mageia-9 Docker Image" IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
IMG_VERSION="1.2.6" IMG_VERSION="1.4.1-mga9"
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>'
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
IMG_URL="${IMG_URL_PREFIX}/${IMG_NAME}:${IMG_VERSION}"
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------