Namespace
zabbix
Image / Tag
zabbix-web-nginx-mysql:7.4.2-centos
Content Digest
sha256:cfedea35f491c1ccbee4eeaa65f817f3f7b2b17c8ea47055402bee66e50cdda2
Details
Created

2025-08-25 17:41:26 UTC

Size

161 MB

Content Digest
Labels
  • io.buildah.version
    1.33.12
  • org.label-schema.build-date
    20250808
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Stream 10 Minimal Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS
  • org.opencontainers.image.authors
    Alexey Pustovalov <alexey.pustovalov@zabbix.com>
  • org.opencontainers.image.created
    2025-08-25T17:39:23.910Z
  • org.opencontainers.image.description
    Zabbix web-interface based on Nginx web server with MySQL database support
  • org.opencontainers.image.documentation
    https://www.zabbix.com/documentation/7.4/manual/installation/containers
  • org.opencontainers.image.licenses
    AGPL v3.0
  • org.opencontainers.image.revision
    c82b6e59f9a8687a0a897186e6cd267b6f3b7c7f
  • org.opencontainers.image.source
    https://git.zabbix.com/scm/zbx/zabbix.git
  • org.opencontainers.image.title
    Zabbix web-interface (Nginx, MySQL)
  • org.opencontainers.image.url
    https://zabbix.com/
  • org.opencontainers.image.vendor
    Zabbix SIA
  • org.opencontainers.image.version
    7.4.2

Environment
PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

TERM

xterm

ZABBIX_CONF_DIR

/etc/zabbix

ZABBIX_USER_HOME_DIR

/var/lib/zabbix

ZABBIX_WWW_ROOT

/usr/share/zabbix

ZBX_SOURCES

https://git.zabbix.com/scm/zbx/zabbix.git

ZBX_VERSION

7.4.2


Layers

[#000] sha256:f585729397a05690c2efe3b2d7424f768db537fda05bf9e9b6b1aa06d5e77b3d - 34.39% (55.4 MB)

[#001] sha256:def2c18b3aa8119c32b28d1b8017cc3503ccac8c9e26689befdf90b76710f0af - 20.46% (33 MB)

[#002] sha256:031b4bc43119e43585b068d1dbdddb0b72b70b62f328407265f6dd7a8d91f42a - 0.0% (5.38 KB)

[#003] sha256:9840fecaad74b96a033ee972f371c8b342a460298daa682229ff1e0f176905b9 - 45.14% (72.7 MB)

[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#005] sha256:c4bbb1c874ae178fa893a6eb6e0edb94f213e96be2a8181ad828496d1b236d5e - 0.0% (3.43 KB)


History
2025-08-08 05:28:02 UTC

/bin/sh -c #(nop) ADD file:9be344c6356d1a06547f0da25b1a6c00ab6aeff3a73502ede5f66f10d4b4611e in /

2025-08-08 05:28:02 UTC

/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 10 Minimal Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20250808"

2025-08-08 05:28:04 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

ARG MAJOR_VERSION=7.4

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

ARG ZBX_VERSION=7.4.2

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

ENV TERM=xterm ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZABBIX_CONF_DIR=/etc/zabbix ZABBIX_USER_HOME_DIR=/var/lib/zabbix ZABBIX_WWW_ROOT=/usr/share/zabbix

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.authors=Alexey Pustovalov <alexey.pustovalov@zabbix.com> org.opencontainers.image.description=Zabbix web-interface based on Nginx web server with MySQL database support org.opencontainers.image.documentation=https://www.zabbix.com/documentation/7.4/manual/installation/containers org.opencontainers.image.licenses=AGPL v3.0 org.opencontainers.image.source=https://git.zabbix.com/scm/zbx/zabbix.git org.opencontainers.image.title=Zabbix web-interface (Nginx, MySQL) org.opencontainers.image.url=https://zabbix.com/ org.opencontainers.image.vendor=Zabbix SIA org.opencontainers.image.version=7.4.2

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGTERM

2025-08-25 17:39:57 UTC (buildkit.dockerfile.v0)

COPY /tmp/zabbix-7.4.2/ui /usr/share/zabbix # buildkit

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

COPY conf/etc/ /etc/ # buildkit

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

RUN |3 MAJOR_VERSION=7.4 ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git /bin/sh -c set -eux && INSTALL_PKGS="bash curl-minimal mysql8.4 nginx php-bcmath php-curl php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-json php-xml findutils glibc-locale-source shadow-utils gzip supervisor" && microdnf -y install --disablerepo "*" --enablerepo "extras-common" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs epel-release && microdnf -y install --disablerepo "*" --enablerepo "baseos" --enablerepo "appstream" --enablerepo="epel" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs ${INSTALL_PKGS} && microdnf -y reinstall --enablerepo "baseos" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --setopt=tsflags=nodocs tzdata && groupadd --system --gid 1995 zabbix && useradd --system --comment "Zabbix monitoring system" -g zabbix --uid 1997 --shell /sbin/nologin --home-dir ${ZABBIX_USER_HOME_DIR} zabbix && mkdir -p ${ZABBIX_CONF_DIR} && mkdir -p ${ZABBIX_CONF_DIR}/web && mkdir -p ${ZABBIX_CONF_DIR}/web/certs && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && mkdir -p /var/lib/php/session && rm -f /etc/nginx/conf.d/*.conf && rm -f /etc/php-fpm.d/www.conf && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && cd ${ZABBIX_WWW_ROOT}/ && rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && rm -rf tests && find ${ZABBIX_WWW_ROOT}/locale -name '*.po' | xargs rm -f && find ${ZABBIX_WWW_ROOT}/locale -name '*.sh' | xargs rm -f && ln -s "${ZABBIX_CONF_DIR}/web/zabbix.conf.php" "${ZABBIX_WWW_ROOT}/conf/zabbix.conf.php" && ln -s "${ZABBIX_CONF_DIR}/web/maintenance.inc.php" "${ZABBIX_WWW_ROOT}/conf/maintenance.inc.php" && cat ${ZABBIX_WWW_ROOT}/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | cut -d"'" -f 2 | sort | xargs -I '{}' bash -c 'echo "{}" && localedef -c -i {} -f UTF-8 {}.UTF-8 2>/dev/null' && chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chgrp -R 0 ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chmod -R g=u ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chown --quiet -R zabbix:root ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chgrp -R 0 ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chmod -R g=u ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chown --quiet -R zabbix:root /var/lib/php/session/ && chgrp -R 0 /var/lib/php/session/ && chmod -R g=u /var/lib/php/session/ && microdnf -y remove findutils glibc-locale-source gzip # buildkit

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8080/ping || exit 1"] "1m30s" "3s" "40s" "5s" '\x03'}

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{} 8443/tcp:{}]

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/share/zabbix

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/bin/ # buildkit

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

USER 1997

2025-08-25 17:41:26 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

Details
Created

2025-08-25 17:59:17 UTC

Size

159 MB

Content Digest
Labels
  • io.buildah.version
    1.33.12
  • org.label-schema.build-date
    20250808
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Stream 10 Minimal Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS
  • org.opencontainers.image.authors
    Alexey Pustovalov <alexey.pustovalov@zabbix.com>
  • org.opencontainers.image.created
    2025-08-25T17:39:23.910Z
  • org.opencontainers.image.description
    Zabbix web-interface based on Nginx web server with MySQL database support
  • org.opencontainers.image.documentation
    https://www.zabbix.com/documentation/7.4/manual/installation/containers
  • org.opencontainers.image.licenses
    AGPL v3.0
  • org.opencontainers.image.revision
    c82b6e59f9a8687a0a897186e6cd267b6f3b7c7f
  • org.opencontainers.image.source
    https://git.zabbix.com/scm/zbx/zabbix.git
  • org.opencontainers.image.title
    Zabbix web-interface (Nginx, MySQL)
  • org.opencontainers.image.url
    https://zabbix.com/
  • org.opencontainers.image.vendor
    Zabbix SIA
  • org.opencontainers.image.version
    7.4.2

Environment
PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

TERM

xterm

ZABBIX_CONF_DIR

/etc/zabbix

ZABBIX_USER_HOME_DIR

/var/lib/zabbix

ZABBIX_WWW_ROOT

/usr/share/zabbix

ZBX_SOURCES

https://git.zabbix.com/scm/zbx/zabbix.git

ZBX_VERSION

7.4.2


Layers

[#000] sha256:109af34df0b89dacdb26ac431bafa93e6278353f7864eee7071f2c5d82d3f750 - 34.08% (54.3 MB)

[#001] sha256:6b0c9fc3c0bfa91df44392496b1003c6dbe3129f252a93b3b3095ccc5df2fcf4 - 20.67% (33 MB)

[#002] sha256:031b4bc43119e43585b068d1dbdddb0b72b70b62f328407265f6dd7a8d91f42a - 0.0% (5.38 KB)

[#003] sha256:689d8541632fa26571340ceb8f0721a99be37e8319c1d6ef96a2258ea004beaf - 45.24% (72.2 MB)

[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#005] sha256:3f0b0d5f972c665b1477a87caf948bc8390e4fd0e20fc2be52611f5ad6ec2610 - 0.0% (3.43 KB)


History
2025-08-08 05:27:17 UTC

/bin/sh -c #(nop) ADD file:06a646de7c7a2f42d32324c6b92727dbf7ff311efd696f2983d9b492b9e9620f in /

2025-08-08 05:27:17 UTC

/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 10 Minimal Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20250808"

2025-08-08 05:27:18 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

ARG MAJOR_VERSION=7.4

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

ARG ZBX_VERSION=7.4.2

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

ENV TERM=xterm ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZABBIX_CONF_DIR=/etc/zabbix ZABBIX_USER_HOME_DIR=/var/lib/zabbix ZABBIX_WWW_ROOT=/usr/share/zabbix

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.authors=Alexey Pustovalov <alexey.pustovalov@zabbix.com> org.opencontainers.image.description=Zabbix web-interface based on Nginx web server with MySQL database support org.opencontainers.image.documentation=https://www.zabbix.com/documentation/7.4/manual/installation/containers org.opencontainers.image.licenses=AGPL v3.0 org.opencontainers.image.source=https://git.zabbix.com/scm/zbx/zabbix.git org.opencontainers.image.title=Zabbix web-interface (Nginx, MySQL) org.opencontainers.image.url=https://zabbix.com/ org.opencontainers.image.vendor=Zabbix SIA org.opencontainers.image.version=7.4.2

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGTERM

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

COPY /tmp/zabbix-7.4.2/ui /usr/share/zabbix # buildkit

2025-08-25 17:40:02 UTC (buildkit.dockerfile.v0)

COPY conf/etc/ /etc/ # buildkit

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

RUN |3 MAJOR_VERSION=7.4 ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git /bin/sh -c set -eux && INSTALL_PKGS="bash curl-minimal mysql8.4 nginx php-bcmath php-curl php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-json php-xml findutils glibc-locale-source shadow-utils gzip supervisor" && microdnf -y install --disablerepo "*" --enablerepo "extras-common" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs epel-release && microdnf -y install --disablerepo "*" --enablerepo "baseos" --enablerepo "appstream" --enablerepo="epel" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs ${INSTALL_PKGS} && microdnf -y reinstall --enablerepo "baseos" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --setopt=tsflags=nodocs tzdata && groupadd --system --gid 1995 zabbix && useradd --system --comment "Zabbix monitoring system" -g zabbix --uid 1997 --shell /sbin/nologin --home-dir ${ZABBIX_USER_HOME_DIR} zabbix && mkdir -p ${ZABBIX_CONF_DIR} && mkdir -p ${ZABBIX_CONF_DIR}/web && mkdir -p ${ZABBIX_CONF_DIR}/web/certs && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && mkdir -p /var/lib/php/session && rm -f /etc/nginx/conf.d/*.conf && rm -f /etc/php-fpm.d/www.conf && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && cd ${ZABBIX_WWW_ROOT}/ && rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && rm -rf tests && find ${ZABBIX_WWW_ROOT}/locale -name '*.po' | xargs rm -f && find ${ZABBIX_WWW_ROOT}/locale -name '*.sh' | xargs rm -f && ln -s "${ZABBIX_CONF_DIR}/web/zabbix.conf.php" "${ZABBIX_WWW_ROOT}/conf/zabbix.conf.php" && ln -s "${ZABBIX_CONF_DIR}/web/maintenance.inc.php" "${ZABBIX_WWW_ROOT}/conf/maintenance.inc.php" && cat ${ZABBIX_WWW_ROOT}/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | cut -d"'" -f 2 | sort | xargs -I '{}' bash -c 'echo "{}" && localedef -c -i {} -f UTF-8 {}.UTF-8 2>/dev/null' && chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chgrp -R 0 ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chmod -R g=u ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chown --quiet -R zabbix:root ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chgrp -R 0 ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chmod -R g=u ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chown --quiet -R zabbix:root /var/lib/php/session/ && chgrp -R 0 /var/lib/php/session/ && chmod -R g=u /var/lib/php/session/ && microdnf -y remove findutils glibc-locale-source gzip # buildkit

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8080/ping || exit 1"] "1m30s" "3s" "40s" "5s" '\x03'}

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{} 8443/tcp:{}]

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/share/zabbix

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/bin/ # buildkit

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

USER 1997

2025-08-25 17:59:17 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

Details
Created

2025-08-25 17:44:15 UTC

Size

170 MB

Content Digest
Labels
  • io.buildah.version
    1.33.12
  • org.label-schema.build-date
    20250808
  • org.label-schema.license
    GPLv2
  • org.label-schema.name
    CentOS Stream 10 Minimal Image
  • org.label-schema.schema-version
    1.0
  • org.label-schema.vendor
    CentOS
  • org.opencontainers.image.authors
    Alexey Pustovalov <alexey.pustovalov@zabbix.com>
  • org.opencontainers.image.created
    2025-08-25T17:39:23.910Z
  • org.opencontainers.image.description
    Zabbix web-interface based on Nginx web server with MySQL database support
  • org.opencontainers.image.documentation
    https://www.zabbix.com/documentation/7.4/manual/installation/containers
  • org.opencontainers.image.licenses
    AGPL v3.0
  • org.opencontainers.image.revision
    c82b6e59f9a8687a0a897186e6cd267b6f3b7c7f
  • org.opencontainers.image.source
    https://git.zabbix.com/scm/zbx/zabbix.git
  • org.opencontainers.image.title
    Zabbix web-interface (Nginx, MySQL)
  • org.opencontainers.image.url
    https://zabbix.com/
  • org.opencontainers.image.vendor
    Zabbix SIA
  • org.opencontainers.image.version
    7.4.2

Environment
PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

TERM

xterm

ZABBIX_CONF_DIR

/etc/zabbix

ZABBIX_USER_HOME_DIR

/var/lib/zabbix

ZABBIX_WWW_ROOT

/usr/share/zabbix

ZBX_SOURCES

https://git.zabbix.com/scm/zbx/zabbix.git

ZBX_VERSION

7.4.2


Layers

[#000] sha256:c839f18661282181a517b986b356277d614f6350e184727ae34ae02f3d4f97fb - 35.5% (60.5 MB)

[#001] sha256:140c30d751ba7fc0529452c6b9aafa3ed19ddc7c716fa4c25f9dc880ae5b1e93 - 19.35% (33 MB)

[#002] sha256:031b4bc43119e43585b068d1dbdddb0b72b70b62f328407265f6dd7a8d91f42a - 0.0% (5.38 KB)

[#003] sha256:2c84e565c9bfd814068ef251d795fe8192709cb01a7f08394435f750ea4f3f24 - 45.14% (76.9 MB)

[#004] sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 - 0.0% (32 Bytes)

[#005] sha256:40cf3211b2c0eb7158866b5c5a773144f5aae0cc3e4dc0b7d4784fe67ec1d42a - 0.0% (3.43 KB)


History
2025-08-08 05:27:32 UTC

/bin/sh -c #(nop) ADD file:74c3a261c3b563eda63d2fec440e463b43817705b483b884f923d576296a9ff9 in /

2025-08-08 05:27:32 UTC

/bin/sh -c #(nop) LABEL org.label-schema.schema-version="1.0" org.label-schema.name="CentOS Stream 10 Minimal Image" org.label-schema.vendor="CentOS" org.label-schema.license="GPLv2" org.label-schema.build-date="20250808"

2025-08-08 05:27:34 UTC

/bin/sh -c #(nop) CMD ["/bin/bash"]

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

ARG MAJOR_VERSION=7.4

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

ARG ZBX_VERSION=7.4.2

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

ENV TERM=xterm ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git ZABBIX_CONF_DIR=/etc/zabbix ZABBIX_USER_HOME_DIR=/var/lib/zabbix ZABBIX_WWW_ROOT=/usr/share/zabbix

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

LABEL org.opencontainers.image.authors=Alexey Pustovalov <alexey.pustovalov@zabbix.com> org.opencontainers.image.description=Zabbix web-interface based on Nginx web server with MySQL database support org.opencontainers.image.documentation=https://www.zabbix.com/documentation/7.4/manual/installation/containers org.opencontainers.image.licenses=AGPL v3.0 org.opencontainers.image.source=https://git.zabbix.com/scm/zbx/zabbix.git org.opencontainers.image.title=Zabbix web-interface (Nginx, MySQL) org.opencontainers.image.url=https://zabbix.com/ org.opencontainers.image.vendor=Zabbix SIA org.opencontainers.image.version=7.4.2

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

STOPSIGNAL SIGTERM

2025-08-25 17:39:59 UTC (buildkit.dockerfile.v0)

COPY /tmp/zabbix-7.4.2/ui /usr/share/zabbix # buildkit

2025-08-25 17:40:00 UTC (buildkit.dockerfile.v0)

COPY conf/etc/ /etc/ # buildkit

2025-08-25 17:44:14 UTC (buildkit.dockerfile.v0)

RUN |3 MAJOR_VERSION=7.4 ZBX_VERSION=7.4.2 ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git /bin/sh -c set -eux && INSTALL_PKGS="bash curl-minimal mysql8.4 nginx php-bcmath php-curl php-fpm php-gd php-ldap php-mbstring php-mysqlnd php-json php-xml findutils glibc-locale-source shadow-utils gzip supervisor" && microdnf -y install --disablerepo "*" --enablerepo "extras-common" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs epel-release && microdnf -y install --disablerepo "*" --enablerepo "baseos" --enablerepo "appstream" --enablerepo="epel" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --nodocs ${INSTALL_PKGS} && microdnf -y reinstall --enablerepo "baseos" --setopt=install_weak_deps=0 --setopt=keepcache=0 --best --setopt=tsflags=nodocs tzdata && groupadd --system --gid 1995 zabbix && useradd --system --comment "Zabbix monitoring system" -g zabbix --uid 1997 --shell /sbin/nologin --home-dir ${ZABBIX_USER_HOME_DIR} zabbix && mkdir -p ${ZABBIX_CONF_DIR} && mkdir -p ${ZABBIX_CONF_DIR}/web && mkdir -p ${ZABBIX_CONF_DIR}/web/certs && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc && mkdir -p ${ZABBIX_USER_HOME_DIR}/enc_internal && mkdir -p /var/lib/php/session && rm -f /etc/nginx/conf.d/*.conf && rm -f /etc/php-fpm.d/www.conf && ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log && cd ${ZABBIX_WWW_ROOT}/ && rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && rm -rf tests && find ${ZABBIX_WWW_ROOT}/locale -name '*.po' | xargs rm -f && find ${ZABBIX_WWW_ROOT}/locale -name '*.sh' | xargs rm -f && ln -s "${ZABBIX_CONF_DIR}/web/zabbix.conf.php" "${ZABBIX_WWW_ROOT}/conf/zabbix.conf.php" && ln -s "${ZABBIX_CONF_DIR}/web/maintenance.inc.php" "${ZABBIX_WWW_ROOT}/conf/maintenance.inc.php" && cat ${ZABBIX_WWW_ROOT}/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | cut -d"'" -f 2 | sort | xargs -I '{}' bash -c 'echo "{}" && localedef -c -i {} -f UTF-8 {}.UTF-8 2>/dev/null' && chown --quiet -R zabbix:root ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chgrp -R 0 ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chmod -R g=u ${ZABBIX_CONF_DIR}/ ${ZABBIX_WWW_ROOT}/include/defines.inc.php ${ZABBIX_WWW_ROOT}/modules/ && chown --quiet -R zabbix:root ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chgrp -R 0 ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chmod -R g=u ${ZABBIX_USER_HOME_DIR}/ /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf /var/log/nginx/ && chown --quiet -R zabbix:root /var/lib/php/session/ && chgrp -R 0 /var/lib/php/session/ && chmod -R g=u /var/lib/php/session/ && microdnf -y remove findutils glibc-locale-source gzip # buildkit

2025-08-25 17:44:14 UTC (buildkit.dockerfile.v0)

HEALTHCHECK &{["CMD-SHELL" "curl -f http://localhost:8080/ping || exit 1"] "1m30s" "3s" "40s" "5s" '\x03'}

2025-08-25 17:44:14 UTC (buildkit.dockerfile.v0)

EXPOSE map[8080/tcp:{} 8443/tcp:{}]

2025-08-25 17:44:15 UTC (buildkit.dockerfile.v0)

WORKDIR /usr/share/zabbix

2025-08-25 17:44:15 UTC (buildkit.dockerfile.v0)

COPY docker-entrypoint.sh /usr/bin/ # buildkit

2025-08-25 17:44:15 UTC (buildkit.dockerfile.v0)

USER 1997

2025-08-25 17:44:15 UTC (buildkit.dockerfile.v0)

ENTRYPOINT ["docker-entrypoint.sh"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete