commit d198cc7a91a4fa3f4709323c6842dcff44a8c73e Author: Arnaud G. GIBERT Date: Wed Aug 21 12:22:12 2024 +0200 - Initial release. diff --git a/ReadMe.txt b/ReadMe.txt new file mode 100644 index 0000000..de34bf8 --- /dev/null +++ b/ReadMe.txt @@ -0,0 +1,19 @@ +Welcome to base-mga9 docker image! + + + +This is project aim to build a Mageia 9 base docker image used by others Rx3 packaging projects. + +Features: + - Curtently based on official Mageia9 docker image from github.io, + - Enable urpmi "Core", "Nonfree" and "Tainted" medium from "http://ftp.free.fr/" mirror, + - Add Rx3 bash seting, + - Multi layered (Mageia + Rx3 Updates). + + +Enjoy it! + +Your Rx3 Team. + +arnaud@rx3.net +https://git.rx3.org/gitea/rx3/base-mga9 diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt new file mode 100644 index 0000000..3337761 --- /dev/null +++ b/ReleaseNotes.txt @@ -0,0 +1,7 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Base-Mga9 V 1.0.0 - A. GIBERT - 2024/08/21 +------------------------------------------------------------------------------------------------------------------------------------ + +- Initial release, +- Use official Mageia9 docker image as base, +- Multi layered. diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..1ac0542 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,10 @@ +version: '3' + +name: base-mga9 +services: + base-mga9: + container_name: base-mga9 + image: docker.xor.rx3:5000/rx3/base-mga9:1.0 + build: + context: multi + restart: unless-stopped diff --git a/multi/Dockerfile b/multi/Dockerfile new file mode 100644 index 0000000..23e9c3f --- /dev/null +++ b/multi/Dockerfile @@ -0,0 +1,22 @@ +# Base Mageia9 Rx3 Docker Image +#------------------------------------------------------------------------------- + +FROM mageia:9 + +LABEL org.rx3.name="Rx3 Base Mageia9 Docker Image" +LABEL org.rx3.version="1.0" + +MAINTAINER "Arnaud G. GIBERT" + +RUN urpmi.removemedia -a \ + && urpmi.addmedia --distrib http://ftp.free.fr/mirrors/mageia.org/distrib/9/x86_64 \ + && urpmi.update --no-ignore "Nonfree Release" "Nonfree Updates" "Tainted Release" "Tainted Updates" \ + && urpmi.update -a \ + && urpmi --auto-update \ + && urpmi --force --replacepkgs glibc locales locales-en \ + && urpmi --force sleep \ + && rm -f /var/log/dnf* /var/log/hawkey.log \ + && echo -e "LANG=en_US.UTF-8\nLANGUAGE=en_US.UTF-8:en_US:en" >/etc/locale.conf \ + && echo -e "export PAGER=less\nexport MANPAGER='less -isr'\nexport EDITOR=emacs\nalias ll='ls -la'\nalias em='emacs'" >/etc/profile.d/rx3.sh + +ENTRYPOINT ["sleep", "60m"]