- Initial release.

This commit is contained in:
Arnaud G. GIBERT 2024-08-21 12:22:12 +02:00
commit 56e947dd53
4 changed files with 58 additions and 0 deletions

19
ReadMe.txt Normal file
View File

@ -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

7
ReleaseNotes.txt Normal file
View File

@ -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.

10
compose.yaml Normal file
View File

@ -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

22
multi/Dockerfile Normal file
View File

@ -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" <arnaud@rx3.net>
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"]