We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a15b9a commit be762d3Copy full SHA for be762d3
toolset/databases/postgres/postgres.dockerfile
@@ -22,7 +22,7 @@ ENV LC_ALL en_US.UTF-8
22
ENV DEBIAN_FRONTEND noninteractive
23
24
# install postgresql on database machine
25
-RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql postgresql-contrib
+RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql-${PG_VERSION} postgresql-contrib-${PG_VERSION}
26
27
# Make sure all the configuration files in main belong to postgres
28
RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf
0 commit comments