UPD: updated PMA version to 5.2.1

This commit is contained in:
KF 2023-09-11 18:32:30 +08:00
parent 6c9fb625b6
commit f41cf40a62
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86

View File

@ -1,11 +1,11 @@
FROM alpine:3.16 FROM alpine:latest
LABEL description="phpmyadmin on alpine" LABEL description="phpmyadmin on alpine"
LABEL maintainer="racken@one27.cf" LABEL maintainer="racken@one27.cf"
ENV container docker ENV container docker
RUN apk update; apk add bash tini php81-pdo_mysql php81-fpm nginx php81-session supervisor unzip php81-iconv php81-mysqli php81-xml php81-mbstring RUN apk update; apk add bash tini php81-pdo_mysql php81-fpm nginx php81-session supervisor unzip php81-iconv php81-mysqli php81-xml php81-mbstring
RUN mkdir -p /var/www/html /etc/supervisor.d RUN mkdir -p /var/www/html /etc/supervisor.d
COPY nginx-default.conf /etc/nginx/http.d/default.conf COPY nginx-default.conf /etc/nginx/http.d/default.conf
RUN wget -O /tmp/pma.zip https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.zip RUN wget -O /tmp/pma.zip https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.zip
RUN unzip -qd /var/www/html /tmp/pma.zip; mv /var/www/html/phpMyAdmin* /var/www/html/pma; rm -f /tmp/pma.zip RUN unzip -qd /var/www/html /tmp/pma.zip; mv /var/www/html/phpMyAdmin* /var/www/html/pma; rm -f /tmp/pma.zip
COPY config.inc.php /var/www/html/pma/config.inc.php COPY config.inc.php /var/www/html/pma/config.inc.php
RUN mkdir -p /var/www/html/pma/tmp/; chmod 777 /var/www/html/pma/tmp/ RUN mkdir -p /var/www/html/pma/tmp/; chmod 777 /var/www/html/pma/tmp/