kafka (1.0.1-mga9)

Published 2024-12-15 23:23:42 +01:00 by AlkorZ3 in Rx3-Docker/kafka

Installation

docker pull git.rx3.org/rx3-docker/kafka:1.0.1-mga9
sha256:770e7258b8cb1fbf91fbeca80815ea284f1628911adbd3c8af1ddd212c09970a

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"]
ARG IMG_NAME=java
ARG IMG_NAME_FULL=Rx3-Docker/Java Docker Image
ARG IMG_VERSION=1.1.0-mga9
ARG IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net>
LABEL org.rx3.java.name=Rx3-Docker/Java Docker Image
LABEL org.rx3.java.version=1.1.0-mga9
LABEL org.rx3.java.maintainer="Arnaud G. GIBERT" <arnaud@rx3.net>
LABEL maintainer="Arnaud G. GIBERT" <arnaud@rx3.net>
RUN |4 IMG_NAME=java IMG_NAME_FULL=Rx3-Docker/Java Docker Image IMG_VERSION=1.1.0-mga9 IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net> /bin/sh -c urpmi --force --no-install java-17-openjdk-headless lib64rocm-opencl-runtime5.7 && rpm -Uvh --nodeps $( for pkg in javapackages-filesystem java-17-openjdk-headless rootcerts-java timezone-java copy-jdk-configs; do ls /var/cache/urpmi/rpms/$pkg*.rpm; done) && rm -f /var/cache/urpmi/rpms/* # buildkit
ARG IMG_NAME=docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9
ARG IMG_NAME_FULL=Rx3-Docker/Kafka
ARG IMG_VERSION=1.0.1-mga9
ARG IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net>
LABEL org.rx3.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.name=Rx3-Docker/Kafka
LABEL org.rx3.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.version=1.0.1-mga9
LABEL org.rx3.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.maintainer="Arnaud G. GIBERT" <arnaud@rx3.net>
LABEL maintainer="Arnaud G. GIBERT" <arnaud@rx3.net>
ARG KAFKA_PORT=9092
ARG KAFKA_VERSION=3.9.0
ARG SCALA_VERSION=2.13
ARG KAFKA_DOWNLOAD_URL=https://downloads.apache.org/kafka/3.9.0/kafka_2.13-3.9.0.tgz
ARG KAFKA_HOME=/opt/appl/kafka
ARG KAFKA_CONFIG=/opt/appl/kafka/config/kraft/reconfig-server.properties
ARG KAFKA_LIB=/var/lib/kafka
ARG KAFKA_LOG=/var/log/kafka
ARG KAFKAD=#!/bin/bash \n \nusermod -u ${KAFKA_UID} kafka \ngroupmod -g ${KAFKA_GID} kafka \n \nif [[ ! -f "/var/lib/kafka/meta.properties" ]] \nthen \n cd /opt/appl/kafka \n \n KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" \n bin/kafka-storage.sh format --standalone -t "${KAFKA_CLUSTER_ID}" -c /opt/appl/kafka/config/kraft/reconfig-server.properties \nfi \n \nchown -R kafka:kafka /opt/appl/kafka /var/lib/kafka /var/log/kafka
ARG KAFKAD_INI=[program:kafkad] \ndirectory=/opt/appl/kafka \ncommand=/opt/appl/kafka/bin/kafka-server-start.sh config/kraft/reconfig-server.properties \nuser=kafka
RUN |14 IMG_NAME=docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9 IMG_NAME_FULL=Rx3-Docker/Kafka IMG_VERSION=1.0.1-mga9 IMG_MAINTAINER="Arnaud G. GIBERT" <arnaud@rx3.net> KAFKA_PORT=9092 KAFKA_VERSION=3.9.0 SCALA_VERSION=2.13 KAFKA_DOWNLOAD_URL=https://downloads.apache.org/kafka/3.9.0/kafka_2.13-3.9.0.tgz KAFKA_HOME=/opt/appl/kafka KAFKA_CONFIG=/opt/appl/kafka/config/kraft/reconfig-server.properties KAFKA_LIB=/var/lib/kafka KAFKA_LOG=/var/log/kafka KAFKAD=#!/bin/bash \n \nusermod -u ${KAFKA_UID} kafka \ngroupmod -g ${KAFKA_GID} kafka \n \nif [[ ! -f "/var/lib/kafka/meta.properties" ]] \nthen \n cd /opt/appl/kafka \n \n KAFKA_CLUSTER_ID="$(bin/kafka-storage.sh random-uuid)" \n bin/kafka-storage.sh format --standalone -t "${KAFKA_CLUSTER_ID}" -c /opt/appl/kafka/config/kraft/reconfig-server.properties \nfi \n \nchown -R kafka:kafka /opt/appl/kafka /var/lib/kafka /var/log/kafka KAFKAD_INI=[program:kafkad] \ndirectory=/opt/appl/kafka \ncommand=/opt/appl/kafka/bin/kafka-server-start.sh config/kraft/reconfig-server.properties \nuser=kafka /bin/sh -c urpmi --force wget && useradd -M --home-dir ${KAFKA_HOME} --password "" kafka && mkdir -p $( dirname ${KAFKA_HOME}) && wget -q -O- ${KAFKA_DOWNLOAD_URL} | tar xzf - -C $( dirname ${KAFKA_HOME}) && mv ${KAFKA_HOME}* ${KAFKA_HOME} && sed -i "s%^advertised.listeners=%#advertised.listeners=%" ${KAFKA_CONFIG} && sed -i "s%^log.dirs=/tmp/kraft-combined-logs%log.dirs=${KAFKA_LIB}%" ${KAFKA_CONFIG} && mkdir ${KAFKA_LOG} && ln -s ${KAFKA_LOG} ${KAFKA_HOME}/logs && echo -e "${KAFKAD}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/init.d/kafkad && chmod a+x /etc/init.d/kafkad && ln -s /etc/init.d/kafkad /etc/rcD.d/S30kafkad && echo -e "${KAFKAD_INI}" | sed -e "s/\`/'/g" -e 's/ *$//' > /etc/supervisord.d/kafkad.ini # buildkit
EXPOSE map[9092/tcp:{}]

Labels

Key Value
com.docker.compose.project kafka
com.docker.compose.service topic-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.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.maintainer "Arnaud G. GIBERT" <arnaud@rx3.net>
org.rx3.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.name Rx3-Docker/Kafka
org.rx3.docker.xor.rx3:5000/rx3-docker/kafka:1.0.1-mga9.version 1.0.1-mga9
org.rx3.java.maintainer "Arnaud G. GIBERT" <arnaud@rx3.net>
org.rx3.java.name Rx3-Docker/Java Docker Image
org.rx3.java.version 1.1.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
Container
2024-12-15 23:23:42 +01:00
0
OCI / Docker
linux/amd64
296 MiB
Versions (2) View all
1.0.1-mga9 2024-12-15
1.0.0-mga9 2024-12-15