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

Add JIT support for Alpine on 11+

This commit is contained in:
Tianon Gravi
2019-11-27 14:55:25 -08:00
parent d88a8f8f81
commit c8bf23b75f
4 changed files with 10 additions and 0 deletions

View File

@ -96,6 +96,10 @@ for version in "${versions[@]}"; do
if [ "$majorVersion" -gt 11 ]; then
sed -i '/backwards compat/d' "$version/$variant/Dockerfile"
fi
if [ "$majorVersion" -lt 11 ]; then
# JIT / LLVM is only supported in PostgreSQL 11+ (https://github.com/docker-library/postgres/issues/475)
sed -i '/llvm/d' "$version/$variant/Dockerfile"
fi
travisEnv="\n - VERSION=$version VARIANT=$variant$travisEnv"
done