You've already forked postgres
mirror of
https://github.com/docker-library/postgres.git
synced 2025-07-28 10:42:06 +03:00
Use "apt-get source --compile" to build for Debian architectures upstream doesn't
This commit is contained in:
@ -85,18 +85,12 @@ for version in "${versions[@]}"; do
|
||||
)
|
||||
|
||||
versionParent="$(awk 'toupper($1) == "FROM" { print $2 }' "$version/Dockerfile")"
|
||||
versionArches=()
|
||||
# http://apt.postgresql.org/pub/repos/apt/dists/jessie-pgdg/main/
|
||||
for arch in amd64 i386 ppc64le; do
|
||||
if [[ " ${parentRepoToArches[$versionParent]} " =~ " $arch " ]]; then
|
||||
versionArches+=( "$arch" )
|
||||
fi
|
||||
done
|
||||
versionArches="${parentRepoToArches[$versionParent]}"
|
||||
|
||||
echo
|
||||
cat <<-EOE
|
||||
Tags: $(join ', ' "${versionAliases[@]}")
|
||||
Architectures: $(join ', ' "${versionArches[@]}")
|
||||
Architectures: $(join ', ' $versionArches)
|
||||
GitCommit: $commit
|
||||
Directory: $version
|
||||
EOE
|
||||
|
Reference in New Issue
Block a user