23 lines
937 B
Docker
23 lines
937 B
Docker
|
# Base Mageia9 Rx3 Docker Image
|
||
|
#-------------------------------------------------------------------------------
|
||
|
|
||
|
FROM mageia:9
|
||
|
|
||
|
LABEL org.rx3.name="Rx3 Base Mageia9 Docker Image"
|
||
|
LABEL org.rx3.version="1.0.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"]
|