Updated PHP for Alpine and Oracle Linux

This commit is contained in:
Alexey Pustovalov
2022-05-31 22:29:54 +03:00
parent 5f35f580e1
commit f2d61c731a
21 changed files with 93 additions and 93 deletions

View File

@ -35,22 +35,22 @@ RUN set -eux && \
curl \
mariadb-client \
mariadb-connector-c \
php8-apache2 \
php8-bcmath \
php8-ctype \
php8-gd \
php8-gettext \
php8-json \
php8-ldap \
php8-mbstring \
php8-mysqli \
php8-session \
php8-simplexml \
php8-sockets \
php8-fileinfo \
php8-xmlreader \
php8-xmlwriter \
php8-openssl" && \
php81-apache2 \
php81-bcmath \
php81-ctype \
php81-gd \
php81-gettext \
php81-json \
php81-ldap \
php81-mbstring \
php81-mysqli \
php81-session \
php81-simplexml \
php81-sockets \
php81-fileinfo \
php81-xmlreader \
php81-xmlwriter \
php81-openssl" && \
apk add \
--no-cache \
--clean-protected \
@ -99,9 +99,9 @@ RUN set -eux && \
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php8/ && \
chgrp -R 0 /etc/apache2/ /etc/php8/ && \
chmod -R g=u /etc/apache2/ /etc/php8/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php81/ && \
chgrp -R 0 /etc/apache2/ /etc/php81/ && \
chmod -R g=u /etc/apache2/ /etc/php81/ && \
rm -rf /var/cache/apk/*
EXPOSE 8080/TCP 8443/TCP

View File

@ -50,7 +50,7 @@ RUN set -eux && \
supervisor" && \
dnf -y install epel-release && \
dnf -y module enable mysql && \
dnf -y module enable php:7.4 && \
dnf -y module enable php:8.0 && \
dnf -y install \
--disablerepo "*" \
--enablerepo "${REPOLIST}" \

View File

@ -49,7 +49,7 @@ RUN set -eux && \
glibc-locale-source \
supervisor" && \
microdnf -y module enable mysql && \
microdnf -y module enable php:7.4 && \
microdnf -y module enable php:8.0 && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol8_baseos_latest" \