mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-04-14 06:19:05 +02:00
commit
f2efbc3a2c
6
.github/workflows/images_build.yml
vendored
6
.github/workflows/images_build.yml
vendored
@ -511,6 +511,8 @@ jobs:
|
|||||||
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, env.BASE_BUILD_NAME, matrix.os) }}
|
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, env.BASE_BUILD_NAME, matrix.os) }}
|
||||||
platforms: ${{ steps.platform.outputs.list }}
|
platforms: ${{ steps.platform.outputs.list }}
|
||||||
push: true
|
push: true
|
||||||
|
provenance: mode=max
|
||||||
|
sbom: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
labels: |
|
labels: |
|
||||||
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
org.opencontainers.image.revision=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
|
||||||
@ -761,6 +763,8 @@ jobs:
|
|||||||
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
|
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
|
||||||
platforms: ${{ steps.platform.outputs.list }}
|
platforms: ${{ steps.platform.outputs.list }}
|
||||||
push: true
|
push: true
|
||||||
|
provenance: mode=max
|
||||||
|
sbom: true
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
build-args: BUILD_BASE_IMAGE=${{ steps.base_build.outputs.base_build_image }}
|
build-args: BUILD_BASE_IMAGE=${{ steps.base_build.outputs.base_build_image }}
|
||||||
labels: |
|
labels: |
|
||||||
@ -1218,6 +1222,8 @@ jobs:
|
|||||||
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
|
file: ${{ format('{0}/{1}/{2}/Dockerfile', env.DOCKERFILES_DIRECTORY, matrix.build, matrix.os) }}
|
||||||
platforms: ${{ steps.platform.outputs.list }}
|
platforms: ${{ steps.platform.outputs.list }}
|
||||||
push: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
push: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||||
|
provenance: mode=max
|
||||||
|
sbom: ${{ env.AUTO_PUSH_IMAGES == 'true' }}
|
||||||
tags: ${{ steps.meta.outputs.tags }}
|
tags: ${{ steps.meta.outputs.tags }}
|
||||||
build-args: BUILD_BASE_IMAGE=${{ steps.base_build.outputs.base_build_image }}
|
build-args: BUILD_BASE_IMAGE=${{ steps.base_build.outputs.base_build_image }}
|
||||||
labels: |
|
labels: |
|
||||||
|
@ -36,7 +36,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
REPOLIST="baseos,appstream,epel" && \
|
REPOLIST="baseos,appstream,epel" && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl-minimal \
|
libcurl-minimal \
|
||||||
@ -51,6 +50,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -54,7 +54,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
@ -72,7 +71,17 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
|
@ -37,9 +37,9 @@ COPY --from=builder ["/tmp/mongodb_plugin/zabbix-agent2-plugin-mongodb", "/usr/s
|
|||||||
COPY --from=builder ["/tmp/postgresql_plugin/zabbix-agent2-plugin-postgresql", "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql"]
|
COPY --from=builder ["/tmp/postgresql_plugin/zabbix-agent2-plugin-postgresql", "/usr/sbin/zabbix-agent2-plugin/zabbix-agent2-plugin-postgresql"]
|
||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="tini \
|
INSTALL_PKGS="bash \
|
||||||
|
tini \
|
||||||
tzdata \
|
tzdata \
|
||||||
bash \
|
|
||||||
pcre2 \
|
pcre2 \
|
||||||
coreutils \
|
coreutils \
|
||||||
smartmontools \
|
smartmontools \
|
||||||
|
@ -41,7 +41,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
REPOLIST="baseos,appstream,epel" && \
|
REPOLIST="baseos,appstream,epel" && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl-minimal \
|
libcurl-minimal \
|
||||||
@ -56,6 +55,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -59,7 +59,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
@ -78,7 +77,17 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
|
@ -37,6 +37,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_proxy.sql
|
|||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
|
tzdata \
|
||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
iputils \
|
iputils \
|
||||||
|
@ -64,6 +64,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -90,12 +90,23 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
tzdata && \
|
tzdata && \
|
||||||
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--setopt=keepcache=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -40,6 +40,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
|
tzdata \
|
||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
@ -36,6 +36,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/
|
|||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
|
tzdata \
|
||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
fping \
|
fping \
|
||||||
|
@ -36,8 +36,9 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/
|
|||||||
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
REPOLIST="baseos,appstream,epel" && \
|
REPOLIST="baseos,appstream,epel" && \
|
||||||
INSTALL_PKGS="libevent \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
|
libevent \
|
||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
libssh \
|
libssh \
|
||||||
@ -59,6 +60,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -38,6 +38,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tini \
|
tini \
|
||||||
|
tzdata \
|
||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
|
@ -42,7 +42,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
file-libs \
|
file-libs \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
traceroute \
|
traceroute \
|
||||||
libevent \
|
libevent \
|
||||||
@ -67,6 +66,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -61,7 +61,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
nmap \
|
nmap \
|
||||||
fping \
|
fping \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
tzdata \
|
|
||||||
iputils \
|
iputils \
|
||||||
hostname \
|
hostname \
|
||||||
libcurl \
|
libcurl \
|
||||||
@ -92,7 +91,17 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
|
@ -44,7 +44,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
traceroute \
|
traceroute \
|
||||||
nmap \
|
nmap \
|
||||||
iputils \
|
iputils \
|
||||||
tzdata \
|
|
||||||
traceroute \
|
traceroute \
|
||||||
libevent \
|
libevent \
|
||||||
libssh \
|
libssh \
|
||||||
@ -67,6 +66,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -25,7 +25,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
REPOLIST="baseos,appstream" && \
|
REPOLIST="baseos,appstream" && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
|
||||||
net-snmp" && \
|
net-snmp" && \
|
||||||
dnf -y install \
|
dnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
@ -34,6 +33,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -46,7 +46,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
tzdata \
|
|
||||||
net-snmp" && \
|
net-snmp" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
@ -57,6 +56,23 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--setopt=keepcache=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -31,6 +31,7 @@ COPY ["conf/etc/", "/etc/"]
|
|||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
apache2 \
|
apache2 \
|
||||||
curl \
|
curl \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
|
@ -59,6 +59,13 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--setopt=install_weak_deps=False \
|
--setopt=install_weak_deps=False \
|
||||||
--best \
|
--best \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
dnf -y reinstall \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "baseos" \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
--setopt=install_weak_deps=False \
|
||||||
|
--best \
|
||||||
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
--gid 1995 \
|
--gid 1995 \
|
||||||
|
@ -33,6 +33,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
apache2 \
|
apache2 \
|
||||||
curl \
|
curl \
|
||||||
libapache2-mod-php \
|
libapache2-mod-php \
|
||||||
|
@ -31,6 +31,7 @@ COPY ["conf/etc/", "/etc/"]
|
|||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
apache2 \
|
apache2 \
|
||||||
curl \
|
curl \
|
||||||
php8-apache2 \
|
php8-apache2 \
|
||||||
|
@ -33,6 +33,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
apache2 \
|
apache2 \
|
||||||
curl \
|
curl \
|
||||||
libapache2-mod-php \
|
libapache2-mod-php \
|
||||||
|
@ -31,6 +31,7 @@ COPY ["conf/etc/", "/etc/"]
|
|||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
curl \
|
curl \
|
||||||
mariadb-client \
|
mariadb-client \
|
||||||
mariadb-connector-c \
|
mariadb-connector-c \
|
||||||
|
@ -51,7 +51,6 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
|||||||
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
|
||||||
curl \
|
curl \
|
||||||
supervisor \
|
supervisor \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
@ -84,12 +83,22 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y update \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
tzdata && \
|
||||||
|
microdnf -y reinstall \
|
||||||
|
--disableplugin=subscription-manager \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
tzdata && \
|
tzdata && \
|
||||||
groupadd \
|
groupadd \
|
||||||
--system \
|
--system \
|
||||||
|
@ -33,6 +33,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
mysql-client \
|
mysql-client \
|
||||||
|
@ -31,6 +31,7 @@ COPY ["conf/etc/", "/etc/"]
|
|||||||
|
|
||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
php8-bcmath \
|
php8-bcmath \
|
||||||
|
@ -33,6 +33,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
|
|||||||
set -eux && \
|
set -eux && \
|
||||||
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
|
tzdata \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
nginx \
|
nginx \
|
||||||
|
Loading…
Reference in New Issue
Block a user