File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ RUN set -ex; \
70
70
# Calculate download URL
71
71
ENV VERSION %%VERSION%%
72
72
ENV SHA256 %%SHA256%%
73
- ENV URL %%DOWNLOAD_URL%%
73
+ ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
74
74
75
75
LABEL org.opencontainers.image.title="Official phpMyAdmin Docker image" \
76
76
org.opencontainers.image.description="Run phpMyAdmin with Alpine, Apache and PHP FPM." \
@@ -90,8 +90,8 @@ RUN set -ex; \
90
90
\
91
91
export GNUPGHOME="$(mktemp -d)"; \
92
92
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 ; \
95
95
echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; \
96
96
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" \
97
97
|| 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; \
72
72
# Calculate download URL
73
73
ENV VERSION %%VERSION%%
74
74
ENV SHA256 %%SHA256%%
75
- ENV URL %%DOWNLOAD_URL%%
75
+ ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
76
76
77
77
LABEL org.opencontainers.image.title="Official phpMyAdmin Docker image" \
78
78
org.opencontainers.image.description="Run phpMyAdmin with Alpine, Apache and PHP FPM." \
@@ -97,8 +97,8 @@ RUN set -ex; \
97
97
\
98
98
export GNUPGHOME="$(mktemp -d)"; \
99
99
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 ; \
102
102
echo "$SHA256 *phpMyAdmin.tar.xz" | sha256sum -c -; \
103
103
gpg --batch --keyserver keyserver.ubuntu.com --recv-keys "$GPGKEY" \
104
104
|| gpg --batch --keyserver pgp.mit.edu --recv-keys "$GPGKEY" \
You can’t perform that action at this time.
0 commit comments