mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-03-06 10:31:49 +01:00
Added Oracle Linux 8 images instead of CentOS 8
This commit is contained in:
parent
7cadf4f03d
commit
072228643f
@ -35,6 +35,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/modules && \
|
mkdir -p /var/lib/zabbix/modules && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
tzdata \
|
||||||
iputils \
|
iputils \
|
||||||
@ -42,8 +45,9 @@ RUN set -eux && \
|
|||||||
libcurl \
|
libcurl \
|
||||||
openssl-libs \
|
openssl-libs \
|
||||||
zlib" && \
|
zlib" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -83,10 +87,7 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
git \
|
git \
|
||||||
gcc" && \
|
gcc" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf dnf-plugins-core && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -117,8 +118,7 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
|
rm -rf /tmp/zabbix-${ZBX_VERSION}/ && \
|
||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf dnf-plugins-core && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
|
@ -35,14 +35,18 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /var/lib/zabbix/enc && \
|
mkdir -p /var/lib/zabbix/enc && \
|
||||||
mkdir -p /var/lib/zabbix/modules && \
|
mkdir -p /var/lib/zabbix/modules && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
tzdata \
|
||||||
iputils \
|
iputils \
|
||||||
pcre \
|
pcre \
|
||||||
libcurl \
|
libcurl \
|
||||||
openssl-libs" && \
|
openssl-libs" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -84,9 +88,6 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
gcc" && \
|
gcc" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -121,7 +122,6 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
chgrp -R 0 /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
chmod -R g=u /etc/zabbix/ /var/lib/zabbix/ && \
|
||||||
|
@ -21,10 +21,14 @@ RUN set -eux && \
|
|||||||
mkdir -p /etc/zabbix/ && \
|
mkdir -p /etc/zabbix/ && \
|
||||||
mkdir -p /usr/sbin/zabbix_java/ && \
|
mkdir -p /usr/sbin/zabbix_java/ && \
|
||||||
mkdir -p /usr/sbin/zabbix_java/ext_lib/ && \
|
mkdir -p /usr/sbin/zabbix_java/ext_lib/ && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
INSTALL_PKGS="java-1.8.0-openjdk-headless \
|
INSTALL_PKGS="java-1.8.0-openjdk-headless \
|
||||||
findutils" && \
|
findutils" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
microdnf -y clean all && \
|
microdnf -y clean all && \
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
@ -50,9 +54,6 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
gcc" && \
|
gcc" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -79,7 +80,6 @@ RUN set -eux && REPOLIST="ol8_baseos_latest,ol8_appstream" && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
chmod -R g=u /etc/zabbix/ /usr/sbin/zabbix_java/ && \
|
||||||
|
@ -45,12 +45,15 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
mkdir -p /usr/share/doc/zabbix-proxy-mysql && \
|
mkdir -p /usr/share/doc/zabbix-proxy-mysql && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
INSTALL_PKGS="libevent \
|
INSTALL_PKGS="libevent \
|
||||||
systemd \
|
systemd \
|
||||||
libssh \
|
libssh \
|
||||||
fping \
|
|
||||||
file-libs \
|
file-libs \
|
||||||
|
fping \
|
||||||
libxml2 \
|
libxml2 \
|
||||||
mysql \
|
mysql \
|
||||||
mysql-libs \
|
mysql-libs \
|
||||||
@ -61,8 +64,10 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -111,9 +116,6 @@ RUN set -eux && \
|
|||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -158,7 +160,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -45,6 +45,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
mkdir -p /var/lib/zabbix/ssl/ssl_ca && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
mkdir -p /usr/share/doc/zabbix-proxy-sqlite3 && \
|
mkdir -p /usr/share/doc/zabbix-proxy-sqlite3 && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
INSTALL_PKGS="libevent \
|
INSTALL_PKGS="libevent \
|
||||||
libssh \
|
libssh \
|
||||||
fping \
|
fping \
|
||||||
@ -58,8 +61,10 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -108,9 +113,6 @@ RUN set -eux && \
|
|||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -155,7 +157,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -47,6 +47,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
mkdir -p /usr/share/doc/zabbix-server-mysql && \
|
mkdir -p /usr/share/doc/zabbix-server-mysql && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
INSTALL_PKGS="fping \
|
INSTALL_PKGS="fping \
|
||||||
file-libs \
|
file-libs \
|
||||||
@ -66,8 +69,10 @@ RUN set -eux && \
|
|||||||
pcre \
|
pcre \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -116,9 +121,6 @@ RUN set -eux && \
|
|||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -165,7 +167,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -47,6 +47,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /usr/lib/zabbix/alertscripts && \
|
mkdir -p /usr/lib/zabbix/alertscripts && \
|
||||||
mkdir -p /usr/lib/zabbix/externalscripts && \
|
mkdir -p /usr/lib/zabbix/externalscripts && \
|
||||||
mkdir -p /usr/share/doc/zabbix-server-postgresql && \
|
mkdir -p /usr/share/doc/zabbix-server-postgresql && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
INSTALL_PKGS="fping \
|
INSTALL_PKGS="fping \
|
||||||
file-libs \
|
file-libs \
|
||||||
iputils \
|
iputils \
|
||||||
@ -64,8 +67,10 @@ RUN set -eux && \
|
|||||||
postgresql-libs \
|
postgresql-libs \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}" -o /sbin/tini && \
|
||||||
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
curl -L "https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-${ARCH_SUFFIX}.asc" -o /tmp/tini.asc && \
|
||||||
export GNUPGHOME="$(mktemp -d)" && \
|
export GNUPGHOME="$(mktemp -d)" && \
|
||||||
@ -114,9 +119,6 @@ RUN set -eux && \
|
|||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -164,7 +166,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -30,8 +30,9 @@ RUN set -eux && \
|
|||||||
--shell /sbin/nologin \
|
--shell /sbin/nologin \
|
||||||
--home-dir /var/lib/zabbix/ \
|
--home-dir /var/lib/zabbix/ \
|
||||||
zabbix && \
|
zabbix && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
mkdir -p /var/lib/zabbix && \
|
mkdir -p /var/lib/zabbix && \
|
||||||
mkdir -p /var/lib/zabbix/snmptraps && \
|
mkdir -p /var/lib/zabbix/snmptraps && \
|
||||||
mkdir -p /var/lib/zabbix/mibs && \
|
mkdir -p /var/lib/zabbix/mibs && \
|
||||||
|
@ -23,10 +23,12 @@ RUN set -eux && \
|
|||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
mkdir -p /etc/zabbix/web/certs && \
|
mkdir -p /etc/zabbix/web/certs && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
microdnf -y module enable php:7.4 && \
|
microdnf -y module enable php:7.4 && \
|
||||||
INSTALL_PKGS="dejavu-sans-fonts \
|
INSTALL_PKGS="curl \
|
||||||
curl \
|
|
||||||
httpd \
|
httpd \
|
||||||
mysql \
|
mysql \
|
||||||
mod_ssl \
|
mod_ssl \
|
||||||
@ -40,8 +42,10 @@ RUN set -eux && \
|
|||||||
php-json \
|
php-json \
|
||||||
php-xml \
|
php-xml \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
rm -f "/etc/httpd/conf.d/default.conf" && \
|
rm -f "/etc/httpd/conf.d/default.conf" && \
|
||||||
rm -f "/etc/httpd/conf.d/ssl.conf" && \
|
rm -f "/etc/httpd/conf.d/ssl.conf" && \
|
||||||
rm -f /etc/php-fpm.d/www.conf && \
|
rm -f /etc/php-fpm.d/www.conf && \
|
||||||
@ -74,9 +78,6 @@ RUN set -eux && \
|
|||||||
git" && \
|
git" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /usr/share/ && \
|
cd /usr/share/ && \
|
||||||
@ -109,7 +110,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -23,9 +23,11 @@ RUN set -eux && \
|
|||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
mkdir -p /etc/zabbix/web/certs && \
|
mkdir -p /etc/zabbix/web/certs && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable php:7.4 && \
|
microdnf -y module enable php:7.4 && \
|
||||||
INSTALL_PKGS="dejavu-sans-fonts \
|
INSTALL_PKGS="curl \
|
||||||
curl \
|
|
||||||
httpd \
|
httpd \
|
||||||
mod_ssl \
|
mod_ssl \
|
||||||
php \
|
php \
|
||||||
@ -39,8 +41,10 @@ RUN set -eux && \
|
|||||||
php-xml \
|
php-xml \
|
||||||
postgresql \
|
postgresql \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
rm -f "/etc/httpd/conf.d/default.conf" && \
|
rm -f "/etc/httpd/conf.d/default.conf" && \
|
||||||
rm -f "/etc/httpd/conf.d/ssl.conf" && \
|
rm -f "/etc/httpd/conf.d/ssl.conf" && \
|
||||||
rm -f /etc/php-fpm.d/www.conf && \
|
rm -f /etc/php-fpm.d/www.conf && \
|
||||||
@ -73,9 +77,6 @@ RUN set -eux && \
|
|||||||
git" && \
|
git" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /usr/share/ && \
|
cd /usr/share/ && \
|
||||||
@ -108,7 +109,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -24,6 +24,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
mkdir -p /etc/zabbix/web/certs && \
|
mkdir -p /etc/zabbix/web/certs && \
|
||||||
mkdir -p /var/lib/php/session && \
|
mkdir -p /var/lib/php/session && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
microdnf -y module enable php:7.4 && \
|
microdnf -y module enable php:7.4 && \
|
||||||
INSTALL_PKGS="curl \
|
INSTALL_PKGS="curl \
|
||||||
@ -38,8 +41,10 @@ RUN set -eux && \
|
|||||||
php-json \
|
php-json \
|
||||||
php-xml \
|
php-xml \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
rm -f /etc/nginx/conf.d/*.conf && \
|
rm -f /etc/nginx/conf.d/*.conf && \
|
||||||
rm -f /etc/php-fpm.d/www.conf && \
|
rm -f /etc/php-fpm.d/www.conf && \
|
||||||
microdnf -y clean all && \
|
microdnf -y clean all && \
|
||||||
@ -66,9 +71,6 @@ RUN set -eux && \
|
|||||||
git" && \
|
git" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /usr/share/ && \
|
cd /usr/share/ && \
|
||||||
@ -101,7 +103,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
@ -24,6 +24,9 @@ RUN set -eux && \
|
|||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
mkdir -p /etc/zabbix/web/certs && \
|
mkdir -p /etc/zabbix/web/certs && \
|
||||||
mkdir -p /var/lib/php/session && \
|
mkdir -p /var/lib/php/session && \
|
||||||
|
mkdir -p /etc/yum/vars/ && \
|
||||||
|
echo "" > /etc/yum/vars/ociregion && \
|
||||||
|
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
||||||
microdnf -y module enable php:7.4 && \
|
microdnf -y module enable php:7.4 && \
|
||||||
INSTALL_PKGS="supervisor \
|
INSTALL_PKGS="supervisor \
|
||||||
curl \
|
curl \
|
||||||
@ -37,8 +40,10 @@ RUN set -eux && \
|
|||||||
php-pgsql \
|
php-pgsql \
|
||||||
php-json \
|
php-json \
|
||||||
php-xml" && \
|
php-xml" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y --disablerepo="*" --enablerepo="ol8_baseos_latest" \
|
||||||
--nodocs ${INSTALL_PKGS} && \
|
--enablerepo="ol8_appstream" \
|
||||||
|
--enablerepo="ol8_developer_EPEL" \
|
||||||
|
install --setopt=install_weak_deps=0 --best --nodocs ${INSTALL_PKGS} && \
|
||||||
rm -f /etc/nginx/conf.d/*.conf && \
|
rm -f /etc/nginx/conf.d/*.conf && \
|
||||||
rm -f /etc/php-fpm.d/www.conf && \
|
rm -f /etc/php-fpm.d/www.conf && \
|
||||||
microdnf -y clean all && \
|
microdnf -y clean all && \
|
||||||
@ -65,9 +70,6 @@ RUN set -eux && \
|
|||||||
git" && \
|
git" && \
|
||||||
microdnf -y install --setopt=install_weak_deps=0 --best \
|
microdnf -y install --setopt=install_weak_deps=0 --best \
|
||||||
--nodocs dnf && \
|
--nodocs dnf && \
|
||||||
mkdir -p /etc/yum/vars/ && \
|
|
||||||
echo "" > /etc/yum/vars/ociregion && \
|
|
||||||
echo "oracle.com" > /etc/yum/vars/ocidomain && \
|
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /usr/share/ && \
|
cd /usr/share/ && \
|
||||||
@ -100,7 +102,6 @@ RUN set -eux && \
|
|||||||
dnf -y history undo last && \
|
dnf -y history undo last && \
|
||||||
dnf -y clean all && \
|
dnf -y clean all && \
|
||||||
microdnf -y remove dnf && \
|
microdnf -y remove dnf && \
|
||||||
rm -rf /etc/yum/ && \
|
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@ name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=1
|
enabled=0
|
||||||
|
Loading…
Reference in New Issue
Block a user