Skip to content

Commit 1c138c5

Browse files
committed
Revert "Auxiliary commit to revert individual files from f650628"
This reverts commit 25b588cca10026c25bb856f6fb8bba2767e7af9a.
1 parent 813fcf8 commit 1c138c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile-alpine.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ RUN set -ex; \
7070
# Calculate download URL
7171
ENV VERSION %%VERSION%%
7272
ENV SHA256 %%SHA256%%
73-
ENV URL %%DOWNLOAD_URL%%
73+
ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
7474

7575
LABEL 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" \

Dockerfile-debian.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RUN set -ex; \
7272
# Calculate download URL
7373
ENV VERSION %%VERSION%%
7474
ENV SHA256 %%SHA256%%
75-
ENV URL %%DOWNLOAD_URL%%
75+
ENV URL https://files.phpmyadmin.net/phpMyAdmin/${VERSION}/phpMyAdmin-${VERSION}-all-languages.tar.xz
7676

7777
LABEL 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" \

0 commit comments

Comments
 (0)