Compare commits
4 Commits
base-1.3.6
...
base-1.4.1
| Author | SHA1 | Date | |
|---|---|---|---|
| 70f5e3787f | |||
| f07cca6df2 | |||
| 9175496bde | |||
| a07e6d6fc6 |
56
Dockerfile
56
Dockerfile
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
FROM mageia:9
|
FROM mageia:9
|
||||||
|
|
||||||
|
ARG IMG_URL
|
||||||
ARG LANG
|
ARG LANG
|
||||||
ARG LANGUAGE
|
ARG LANGUAGE
|
||||||
ARG LOCALTIME
|
ARG LOCALTIME
|
||||||
@@ -14,53 +15,11 @@ 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\
|
|
||||||
\n\
|
|
||||||
cateval() \n\
|
|
||||||
{ \n\
|
|
||||||
while read line \n\
|
|
||||||
do \n\
|
|
||||||
eval $line 2>/dev/null \n\
|
|
||||||
eval echo $( echo $line | sed -e `s/"/\\"/g`) \n\
|
|
||||||
done <$1 \n\
|
|
||||||
} \n\
|
|
||||||
\n\
|
|
||||||
export -f cateval \n\
|
|
||||||
\n\
|
|
||||||
file_enable() \n\
|
|
||||||
{ \n\
|
|
||||||
fd_file="$1" \n\
|
|
||||||
fd_state="$2" \n\
|
|
||||||
\n\
|
|
||||||
\n\
|
|
||||||
if [[ "$fd_state" == "TRUE" ]] \n\
|
|
||||||
then \n\
|
|
||||||
if [[ ! -f "${fd_file}" ]] \n\
|
|
||||||
then \n\
|
|
||||||
mv ${fd_file}.disable ${fd_file} \n\
|
|
||||||
fi \n\
|
|
||||||
else \n\
|
|
||||||
if [[ -f "${fd_file}" ]] \n\
|
|
||||||
then \n\
|
|
||||||
mv ${fd_file} ${fd_file}.disable \n\
|
|
||||||
fi \n\
|
|
||||||
fi \n\
|
|
||||||
} \n\
|
|
||||||
\n\
|
|
||||||
export -f file_enable \n\
|
|
||||||
\n\
|
|
||||||
alias ll="ls -la" \n\
|
|
||||||
alias em="emacs"'
|
|
||||||
#---------------------------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
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_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'
|
ARG MIRRORLIST_RX3='http://mirror.xor.rx3/rx3/distrib/9/x86_64 https://mirror.rx3.net/rx3/distrib/9/x86_64'
|
||||||
|
|
||||||
ARG GIT_MPM_REPO='https://git.rx3.org/gitea/Rx3/mpm/raw/tag/mpm-1.0.0'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf \
|
RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf \
|
||||||
@@ -75,15 +34,10 @@ RUN echo -e "${LOCALE_CONF}" | sed -e 's/ *$//' > /etc/locale.conf
|
|||||||
&& rpm -e $(rpm -qa | grep -e python -e dnf) gobject-introspection \
|
&& rpm -e $(rpm -qa | grep -e python -e dnf) gobject-introspection \
|
||||||
&& 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 \
|
&& 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 \
|
||||||
&& urpmi --force --auto-update \
|
&& urpmi --force --auto-update \
|
||||||
|
&& urpmi --force rx3-base mpm \
|
||||||
&& rm -f /var/log/dnf* /var/log/hawkey.log \
|
&& rm -f /var/log/dnf* /var/log/hawkey.log \
|
||||||
&& echo -e "${RX3_SH}" | sed -e "s/\`/'/g" -e 's/ *$//' >/etc/profile.d/rx3.sh
|
&& . /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
|
||||||
@@ -101,5 +55,7 @@ LABEL maintainer=${IMG_MAINTAINER}
|
|||||||
|
|
||||||
COPY --from=0 / /
|
COPY --from=0 / /
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
ENTRYPOINT []
|
ENTRYPOINT []
|
||||||
|
|||||||
@@ -14,9 +14,12 @@ Features:
|
|||||||
- Enable urpmi "Rx3" default and testings (disabled) media from mirror list:
|
- Enable urpmi "Rx3" default and testings (disabled) media from mirror list:
|
||||||
- http://mirror.xor.rx3/,
|
- http://mirror.xor.rx3/,
|
||||||
- https://mirror.rx3.net/,
|
- https://mirror.rx3.net/,
|
||||||
- Add Rx3 bash seting,
|
- Add Rx3 Base bash settings & libraries,
|
||||||
|
- Add Meta Package Manager (MPM),
|
||||||
- Mono layered (Mageia + Rx3 Updates),
|
- Mono layered (Mageia + Rx3 Updates),
|
||||||
- Strip down base (python & dnf removed).
|
- Strip down base (python & dnf removed),
|
||||||
|
- Image stacking log support.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Enjoy it!
|
Enjoy it!
|
||||||
|
|||||||
@@ -1,3 +1,23 @@
|
|||||||
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
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
|
Rx3-Docker/Base V 1.3.6 - A. GIBERT - 2025/11/28
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ services:
|
|||||||
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
IMG_NAME_FULL: ${IMG_NAME_FULL}
|
||||||
IMG_VERSION: ${IMG_VERSION}
|
IMG_VERSION: ${IMG_VERSION}
|
||||||
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
IMG_MAINTAINER: ${IMG_MAINTAINER}
|
||||||
|
IMG_URL: ${IMG_URL}
|
||||||
LANG: ${LANG}
|
LANG: ${LANG}
|
||||||
LANGUAGE: ${LANGUAGE}
|
LANGUAGE: ${LANGUAGE}
|
||||||
LOCALTIME: ${LOCALTIME}
|
LOCALTIME: ${LOCALTIME}
|
||||||
|
|||||||
2
env.dist
2
env.dist
@@ -18,7 +18,7 @@ ORG_URL_PREFIX="${ORG_REGISTRY}/${ORG_NAME}"
|
|||||||
|
|
||||||
IMG_NAME="base"
|
IMG_NAME="base"
|
||||||
IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
|
IMG_NAME_FULL="Rx3-Docker/Base Docker Image"
|
||||||
IMG_VERSION="1.3.6-mga9"
|
IMG_VERSION="1.4.1-mga9"
|
||||||
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
IMG_MAINTAINER='"Arnaud G. GIBERT" <arnaud@rx3.net>'
|
||||||
|
|
||||||
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
IMG_URL_PREFIX="${ORG_URL_PREFIX}"
|
||||||
|
|||||||
Reference in New Issue
Block a user