1
0
mirror of https://github.com/docker-library/postgres.git synced 2025-07-28 10:42:06 +03:00

Add workaround for https://bugs.debian.org/929417 when building 13 from source

This commit is contained in:
Tianon Gravi
2020-05-21 14:26:23 -07:00
parent 8c3f661c5b
commit 682ff83c5c
3 changed files with 8 additions and 0 deletions

View File

@ -125,6 +125,10 @@ for version in "${versions[@]}"; do
sed -i -e '/postgresql-contrib-/d' "$version/Dockerfile"
fi
if [ "$majorVersion" != '13' ]; then
sed -i -e '/DEBIAN_FRONTEND/d' "$version/Dockerfile"
fi
# TODO figure out what to do with odd version numbers here, like release candidates
srcVersion="${fullVersion%%-*}"
# change "10~beta1" to "10beta1" for ftp urls