1- # DO NOT EDIT: created by update.sh from Dockerfile-alpine.template
21FROM php:8.1-fpm-alpine
32
43# docker-entrypoint.sh dependencies
@@ -71,15 +70,15 @@ RUN set -ex; \
7170# Calculate download URL
7271ENV VERSION 5.2.1
7372ENV SHA256 373f9599dfbd96d6fe75316d5dad189e68c305f297edf42377db9dd6b41b2557
74- ENV URL https://files.phpmyadmin.net/phpMyAdmin/5.2.1 /phpMyAdmin-5.2.1 -all-languages.tar.xz
73+ ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION} /phpMyAdmin-${VERSION} -all-languages.tar.xz
7574
7675LABEL org.opencontainers.image.title="Official phpMyAdmin Docker image" \
7776 org.opencontainers.image.description="Run phpMyAdmin with Alpine, Apache and PHP FPM." \
7877 org.opencontainers.image.authors="The phpMyAdmin Team <developers@phpmyadmin.net>" \
7978 org.opencontainers.image.vendor="phpMyAdmin" \
8079 org.opencontainers.image.documentation="https://github.com/phpmyadmin/docker#readme" \
8180 org.opencontainers.image.licenses="GPL-2.0-only" \
82- org.opencontainers.image.version="5.2.1 " \
81+ org.opencontainers.image.version="${VERSION} " \
8382 org.opencontainers.image.url="https://github.com/phpmyadmin/docker#readme" \
8483 org.opencontainers.image.source="https://github.com/phpmyadmin/docker.git"
8584
@@ -91,9 +90,9 @@ RUN set -ex; \
9190 \
9291 export GNUPGHOME="$(mktemp -d)" ; \
9392 export GPGKEY="3D06A59ECE730EB71B511C17CE752F178259BD92" ; \
94- curl -fsSL -o phpMyAdmin.tar.xz "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.xz" ; \
95- curl -fsSL -o phpMyAdmin.tar.xz.asc "https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.tar.xz. asc" ; \
96- echo "373f9599dfbd96d6fe75316d5dad189e68c305f297edf42377db9dd6b41b2557 *phpMyAdmin.tar.xz" | sha256sum -c -; \
93+ curl -fsSL -o phpMyAdmin.tar.xz $URL ; \
94+ curl -fsSL -o phpMyAdmin.tar.xz.asc $URL. asc; \
95+ echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; \
9796 gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" \
9897 || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" \
9998 || gpg --batch --keyserver keyserver.pgp.com --recv-keys "$GPGKEY" \
0 commit comments