- Initial release.

This commit is contained in:
Arnaud G. GIBERT 2024-08-21 12:22:12 +02:00
commit 2f4aba1347
5 changed files with 81 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) + Mono (Merged)
Enjoy it!
Your Rx3 Team.
arnaud@rx3.net
https://git.rx3.org/gitea/rx3/base-mga9

15
ReleaseNotes.txt Normal file
View File

@ -0,0 +1,15 @@
------------------------------------------------------------------------------------------------------------------------------------
Base-Mga9 V 1.1 - A. GIBERT - 2024/08/21
------------------------------------------------------------------------------------------------------------------------------------
- Mono Layer release: manually merged by docker save + copy.
------------------------------------------------------------------------------------------------------------------------------------
Base-Mga9 V 1.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.1
build:
context: mono
restart: unless-stopped

15
mono/Dockerfile Normal file
View File

@ -0,0 +1,15 @@
# Base Mageia9 Rx3 Docker Image
#-------------------------------------------------------------------------------
FROM scratch
ADD mageia9-rx3-rootfs.tar.bz2 /
#CMD ["/bin/bash"]
LABEL org.rx3.name="Rx3 Base Mageia9 Docker Image"
LABEL org.rx3.version="1.1"
MAINTAINER "Arnaud G. GIBERT" <arnaud@rx3.net>
ENTRYPOINT ["sleep", "60m"]

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"]