server (1.2.0-mga9)
Installation
docker pull git.rx3.org/rx3-docker/server:1.2.0-mga9
sha256:3ac85c2771fb1a117c4e6a52580f48118cdd3fe241096795470044d15fe3693b
Image Layers
ARG IMG_NAME=base |
ARG IMG_NAME_FULL=Rx3-Docker/Base Docker Image |
ARG IMG_VERSION=1.3.0-mga9 |
ARG IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net> |
LABEL org.rx3.base.name=Rx3-Docker/Base Docker Image |
LABEL org.rx3.base.version=1.3.0-mga9 |
LABEL org.rx3.base.maintainer="Arnaud G. GIBERT" <arnaud@rx3.net> |
LABEL maintainer="Arnaud G. GIBERT" <arnaud@rx3.net> |
COPY / / # buildkit |
CMD ["/bin/bash"] |
ENTRYPOINT [] |
ARG IMG_NAME=server |
ARG IMG_NAME_FULL=Rx3-Docker/Server Docker Image |
ARG IMG_VERSION=1.2.0-mga9 |
ARG IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net> |
LABEL org.rx3.server.name=Rx3-Docker/Server Docker Image |
LABEL org.rx3.server.version=1.2.0-mga9 |
LABEL org.rx3.server.maintainer="Arnaud G. GIBERT" <arnaud@rx3.net> |
LABEL maintainer="Arnaud G. GIBERT" <arnaud@rx3.net> |
ARG SERVER_LOG_INIT_DIR=/var/log/init |
ARG SERVER_LOG_SV_DIR=/var/log/supervisor |
ARG SERVER_PORT_SV_INT=9001 |
ARG SERVER_LOG_INIT_FILE=/var/log/init/init.log |
ARG INIT_SHELL=#!/bin/bash \n \nfunction log() { echo "$(date --rfc-3339=ns) Init: $*" | tee -a /var/log/init/init.log; } \n \nlog "Starting" \n \nfor pgm in /etc/rcD.d/* \ndo \n if [[ -r ${pgm} ]] \n then \n if [[ ${pgm##*/} == S99* ]] \n then \n log "Executing: [${pgm##*/}]" \n log "Completed" \n exec ${pgm} \n else \n log "Calling: [${pgm##*/}]" \n ${pgm} \n fi \n fi \ndone |
ARG SUPERVISORD=#!/bin/bash \n \nexec supervisord -c /etc/supervisord.conf |
ARG CROND=#!/bin/bash \n \nif [[ "${SERVER_CROND_ENABLED}" != "TRUE" ]] \nthen \n mv /etc/supervisord.d/crond.ini /etc/supervisord.d/crond.ini.disabled \nfi |
ARG SUPERVISORD_INI=[inet_http_server] \nport=*:9001 \n \n[supervisord] \nnodaemon=true \nchildlogdir=/var/log/supervisor \nuser=root |
ARG CROND_INI=[program:crond] \ncommand=crond -n |
RUN |13 IMG_NAME=server IMG_NAME_FULL=Rx3-Docker/Server Docker Image IMG_VERSION=1.2.0-mga9 IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net> SERVER_LOG_INIT_DIR=/var/log/init SERVER_LOG_SV_DIR=/var/log/supervisor SERVER_PORT_SV_INT=9001 SERVER_LOG_INIT_FILE=/var/log/init/init.log INIT_SHELL=#!/bin/bash \n \nfunction log() { echo "$(date --rfc-3339=ns) Init: $*" | tee -a /var/log/init/init.log; } \n \nlog "Starting" \n \nfor pgm in /etc/rcD.d/* \ndo \n if [[ -r ${pgm} ]] \n then \n if [[ ${pgm##*/} == S99* ]] \n then \n log "Executing: [${pgm##*/}]" \n log "Completed" \n exec ${pgm} \n else \n log "Calling: [${pgm##*/}]" \n ${pgm} \n fi \n fi \ndone SUPERVISORD=#!/bin/bash \n \nexec supervisord -c /etc/supervisord.conf CROND=#!/bin/bash \n \nif [[ "${SERVER_CROND_ENABLED}" != "TRUE" ]] \nthen \n mv /etc/supervisord.d/crond.ini /etc/supervisord.d/crond.ini.disabled \nfi SUPERVISORD_INI=[inet_http_server] \nport=*:9001 \n \n[supervisord] \nnodaemon=true \nchildlogdir=/var/log/supervisor \nuser=root CROND_INI=[program:crond] \ncommand=crond -n /bin/sh -c urpmi --force supervisor && echo -e "${INIT_SHELL}" | sed -e "s/\`/'/g" -e 's/ *$//' > /usr/local/sbin/init.sh && chmod a+x /usr/local/sbin/init.sh && mkdir /etc/rc.d/rcD.d && ln -s /etc/rc.d/rcD.d /etc && mkdir "${SERVER_LOG_INIT_DIR}" && echo -e "${CROND}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/crond && echo -e "${SUPERVISORD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/supervisord && chmod a+x /etc/init.d/crond && chmod a+x /etc/init.d/supervisord && ln -s /etc/init.d/crond /etc/rcD.d/S60crond && ln -s /etc/init.d/supervisord /etc/rcD.d/S99supervisord && echo -e "${CROND_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/crond.ini && echo -e "${SUPERVISORD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/supervisord.ini # buildkit |
VOLUME [/var/log/init] |
VOLUME [/var/log/supervisor] |
EXPOSE map[9001/tcp:{}] |
CMD [] |
ENTRYPOINT ["init.sh"] |
Labels
Key | Value |
---|---|
com.docker.compose.project | server |
com.docker.compose.service | server |
com.docker.compose.version | 2.29.2 |
maintainer | "Arnaud G. GIBERT" <arnaud@rx3.net> |
org.rx3.base.maintainer | "Arnaud G. GIBERT" <arnaud@rx3.net> |
org.rx3.base.name | Rx3-Docker/Base Docker Image |
org.rx3.base.version | 1.3.0-mga9 |
org.rx3.server.maintainer | "Arnaud G. GIBERT" <arnaud@rx3.net> |
org.rx3.server.name | Rx3-Docker/Server Docker Image |
org.rx3.server.version | 1.2.0-mga9 |
Details
Versions (1)
View all
1.2.0-mga9
2024-12-01