- Add ISL support,

- Use now rx3-docker/server:1.3.0-mga9 image,
- Rebuild for updates.
This commit is contained in:
2026-02-14 12:52:44 +01:00
parent ac23805099
commit 3fe82e435f
5 changed files with 31 additions and 9 deletions

View File

@@ -9,6 +9,7 @@ ARG IMG_NAME
ARG IMG_NAME_FULL
ARG IMG_VERSION
ARG IMG_MAINTAINER
ARG IMG_URL
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
@@ -62,11 +63,15 @@ fi
/usr/sbin/mysqld-prepare-db-dir'
#---------------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------
ARG MYSQLD_INI='[program:mysqld] \n\
command=/usr/sbin/mysqld'
#---------------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------
ARG POSTSQL='#!/bin/bash \n\
\n\
@@ -98,6 +103,8 @@ fi
log "Completed"'
#---------------------------------------------------------------------------------------------------
#---------------------------------------------------------------------------------------------------
ARG POSTSQL_INI='[program:postsql] \n\
command=/usr/local/sbin/postsql'
@@ -105,7 +112,8 @@ command=/usr/local/sbin/postsql'
RUN urpmi.update -a \
RUN . /etc/profile.d/rx3.sh && isl_add ${IMG_URL} \
&& urpmi.update -a \
&& urpmi --force mariadb \
&& echo -e "${MYSQLD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/mysqld \
&& chmod a+x /etc/init.d/mysqld \
@@ -114,10 +122,12 @@ RUN urpmi.update -a
&& echo -e "${POSTSQL}" | sed -e "s/\`/'/g" -e 's/ *$//' > /usr/local/sbin/postsql \
&& chmod a+x /usr/local/sbin/postsql \
&& echo -e "${POSTSQL_INI}" | sed -e 's/ *$//' > /etc/supervisord.d/postsql.ini
VOLUME ${MARIADDB_LIB}
VOLUME ${MARIADDB_LOG}
EXPOSE ${MARIADDB_PORT}