File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,6 @@ RUN apt-get update \
56
56
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
57
57
&& apt-get install -y \
58
58
postgresql-$PG_MAJOR=$PG_VERSION \
59
- postgresql-contrib-$PG_MAJOR=$PG_VERSION \
60
59
&& rm -rf /var/lib/apt/lists/*
61
60
62
61
# make the sample config easier to munge (and "correct by default")
Original file line number Diff line number Diff line change @@ -48,6 +48,13 @@ for version in "${versions[@]}"; do
48
48
-e ' s/%%PG_VERSION%%/' " $fullVersion " ' /g' \
49
49
-e ' s/%%DEBIAN_SUITE%%/' " ${debianSuite[$version]} " ' /g' \
50
50
Dockerfile-debian.template > " $version /Dockerfile"
51
+ if [ " $version " = ' 10' ]; then
52
+ # postgresql-contrib-10 package does not exist, but is provided by postgresql-10
53
+ # Packages.gz:
54
+ # Package: postgresql-10
55
+ # Provides: postgresql-contrib-10
56
+ sed -i -e ' /postgresql-contrib-/d' " $version /Dockerfile"
57
+ fi
51
58
)
52
59
53
60
# TODO figure out what to do with odd version numbers here, like release candidates
You can’t perform that action at this time.
0 commit comments