forked from paunin/PostDock
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use apt-archive.postgresql.org debs and fix dpkg dependency problems
See also: paunin#260 http://apt-archive.postgresql.org/pub/repos/apt/pool/main is now used instead of http://atalia.postgresql.org/morgue when referencing old Debian packages. URI escaping of + to %2B in apt-archive urls to ensure wget download works as expected from apt-archive. Fixed dpkg dependency problems for pgpool and libpgpool0 by apt-get install-ing the following packages: postgresql-common Fixed dpkg dependency problems for barman by apt-get install-ing the following packages: python-argcomplete python-argh python-dateutil python-psycopg2 rsync Fixed dpkg dependency problem for pgpool by ensuring libmemcached11 is installed for pgpool 3.6 and 3.7, but pgpool 3.3 gets libmemcached10.
- Loading branch information
Marcus Bergner
committed
Jul 21, 2020
1 parent
1ff4999
commit 8a018bb
Showing
6 changed files
with
29 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
echo ">>> Making pgpool" | ||
|
||
for VALS in "PGPOOL_VERSION=3.3 PGPOOL_PACKAGE_VERSION=3.3.4-1.pgdg70+1" \ | ||
"PGPOOL_VERSION=3.6 PGPOOL_PACKAGE_VERSION=3.6.7-1.pgdg90+1" \ | ||
"PGPOOL_VERSION=3.7 PGPOOL_PACKAGE_VERSION=3.7.5-2.pgdg90+1"; do | ||
for VALS in "PGPOOL_VERSION=3.3 PGPOOL_PACKAGE_VERSION=3.3.4-1.pgdg70%2B1" \ | ||
"PGPOOL_VERSION=3.6 PGPOOL_PACKAGE_VERSION=3.6.7-1.pgdg%2B1 LIBMEMCACHED11=1" \ | ||
"PGPOOL_VERSION=3.7 PGPOOL_PACKAGE_VERSION=3.7.5-2.pgdg%2B1 LIBMEMCACHED11=1"; do | ||
eval $VALS | ||
|
||
for PG_CLIENT_VERSION in 9.6 10 11; do | ||
VALS="$VALS PG_CLIENT_VERSION=$PG_CLIENT_VERSION PG_CLIENT_LATEST=1" | ||
TEMPLATE_VALS="$VALS PG_CLIENT_VERSION=$PG_CLIENT_VERSION PG_CLIENT_LATEST=1" | ||
|
||
FILE_FROM="./src/includes/dockerfile/Pgpool-$PGPOOL_VERSION.part.Dockerfile" | ||
FILE_TO="./src/Pgpool-$PGPOOL_VERSION-Postgres-$PG_CLIENT_VERSION.Dockerfile" | ||
|
||
template $FILE_FROM $FILE_TO $VALS | ||
template $FILE_FROM $FILE_TO $TEMPLATE_VALS | ||
done | ||
done | ||
unset PGPOOL_VERSION PGPOOL_PACKAGE_VERSION VALS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters