1
0
mirror of https://github.com/docker-library/postgres.git synced 2026-01-03 16:42:27 +03:00

Update architecture detection to be more thorough

This commit is contained in:
Tianon Gravi
2020-03-30 15:18:07 -07:00
parent 137fccea0c
commit 17c71aef19
6 changed files with 54 additions and 20 deletions

View File

@@ -84,7 +84,7 @@ RUN set -ex; \
\
dpkgArch="$(dpkg --print-architecture)"; \
case "$dpkgArch" in \
amd64|arm64|i386|ppc64el) \
amd64 | i386 | ppc64el) \
# arches officialy built by upstream
echo "deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main $PG_MAJOR" > /etc/apt/sources.list.d/pgdg.list; \
apt-get update; \