Updated PHP package on all Alpine images

This commit is contained in:
Alexey Pustovalov 2024-02-06 16:17:41 +09:00
parent 5c6a17cb13
commit 56e2f10c3b
4 changed files with 38 additions and 38 deletions

View File

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

View File

@ -33,22 +33,22 @@ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
apache2 \ apache2 \
curl \ curl \
php81-apache2 \ php83-apache2 \
php81-bcmath \ php83-bcmath \
php81-ctype \ php83-ctype \
php81-gd \ php83-gd \
php81-gettext \ php83-gettext \
php81-json \ php83-json \
php81-ldap \ php83-ldap \
php81-pgsql \ php83-pgsql \
php81-mbstring \ php83-mbstring \
php81-session \ php83-session \
php81-simplexml \ php83-simplexml \
php81-sockets \ php83-sockets \
php81-fileinfo \ php83-fileinfo \
php81-xmlreader \ php83-xmlreader \
php81-xmlwriter \ php83-xmlwriter \
php81-openssl \ php83-openssl \
postgresql-client" && \ postgresql-client" && \
apk add \ apk add \
--no-cache \ --no-cache \
@ -97,9 +97,9 @@ RUN set -eux && \
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \ 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/ && \ 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/ && \ 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/php81/ && \ chown --quiet -R zabbix:root /etc/apache2/ /etc/php83/ && \
chgrp -R 0 /etc/apache2/ /etc/php81/ && \ chgrp -R 0 /etc/apache2/ /etc/php83/ && \
chmod -R g=u /etc/apache2/ /etc/php81/ && \ chmod -R g=u /etc/apache2/ /etc/php83/ && \
rm -rf /var/cache/apk/* rm -rf /var/cache/apk/*
EXPOSE 8080/TCP 8443/TCP EXPOSE 8080/TCP 8443/TCP