Prepare to remove supervisord
This commit is contained in:
parent
19aae3d4a3
commit
e2e7a21002
|
|
@ -103,7 +103,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
--shell /sbin/nologin \
|
||||
--home-dir ${ZABBIX_USER_HOME_DIR} \
|
||||
zabbix && \
|
||||
mkdir -p ${ZABBIX_CONF_DIR} \
|
||||
mkdir -p ${ZABBIX_CONF_DIR} \
|
||||
${ZABBIX_CONF_DIR}/zabbix_agentd.d \
|
||||
${ZABBIX_USER_HOME_DIR} \
|
||||
${ZABBIX_USER_HOME_DIR}/enc \
|
||||
|
|
|
|||
|
|
@ -79,19 +79,10 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||
shadow-utils \
|
||||
gzip \
|
||||
jq" && \
|
||||
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 \
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ RUN set -eux && \
|
|||
find "/tmp/zabbix-${ZBX_VERSION}/ui/locale" -name '*.po' -delete && \
|
||||
find "/tmp/zabbix-${ZBX_VERSION}/ui/locale" -name '*.sh' -delete
|
||||
|
||||
ARG OS_BASE_IMAGE=registry.access.redhat.com/ubi10/ubi-minimal:10.1
|
||||
FROM ${OS_BASE_IMAGE}
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||
|
||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||
|
||||
ARG OS_BASE_IMAGE=registry.access.redhat.com/ubi10/ubi-minimal:10.1
|
||||
FROM ${OS_BASE_IMAGE}
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
|
|
|
|||
Loading…
Reference in a new issue