File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ RUN set -ex; \
7070# Calculate download URL
7171ENV VERSION %%VERSION%%
7272ENV SHA256 %%SHA256%%
73- ENV URL %%DOWNLOAD_URL%%
73+ ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
7474
7575LABEL org.opencontainers.image.title="Official phpMyAdmin Docker image" \
7676 org.opencontainers.image.description="Run phpMyAdmin with Alpine, Apache and PHP FPM." \
@@ -90,8 +90,8 @@ RUN set -ex; \
9090 \
9191 export GNUPGHOME="$(mktemp -d)"; \
9292 export GPGKEY="%%GPG_KEY%%"; \
93- curl -fsSL -o phpMyAdmin.tar.xz "%%DOWNLOAD_URL%%" ; \
94- curl -fsSL -o phpMyAdmin.tar.xz.asc "%%DOWNLOAD_URL_ASC%%" ; \
93+ curl -fsSL -o phpMyAdmin.tar.xz $URL ; \
94+ curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc ; \
9595 echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; \
9696 gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" \
9797 || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" \
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ RUN set -ex; \
7272# Calculate download URL
7373ENV VERSION %%VERSION%%
7474ENV SHA256 %%SHA256%%
75- ENV URL %%DOWNLOAD_URL%%
75+ ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
7676
7777LABEL org.opencontainers.image.title="Official phpMyAdmin Docker image" \
7878 org.opencontainers.image.description="Run phpMyAdmin with Alpine, Apache and PHP FPM." \
@@ -97,8 +97,8 @@ RUN set -ex; \
9797 \
9898 export GNUPGHOME="$(mktemp -d)"; \
9999 export GPGKEY="%%GPG_KEY%%"; \
100- curl -fsSL -o phpMyAdmin.tar.xz "%%DOWNLOAD_URL%%" ; \
101- curl -fsSL -o phpMyAdmin.tar.xz.asc "%%DOWNLOAD_URL_ASC%%" ; \
100+ curl -fsSL -o phpMyAdmin.tar.xz $URL ; \
101+ curl -fsSL -o phpMyAdmin.tar.xz.asc $URL.asc ; \
102102 echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; \
103103 gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" \
104104 || gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" \
You can’t perform that action at this time.
0 commit comments