Bläddra i källkod

Update postgres.dockerfile (#6842)

J-C HERON 3 år sedan
förälder
incheckning
be762d300d
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      toolset/databases/postgres/postgres.dockerfile

+ 1 - 1
toolset/databases/postgres/postgres.dockerfile

@@ -22,7 +22,7 @@ ENV LC_ALL en_US.UTF-8
 ENV DEBIAN_FRONTEND noninteractive
 ENV DEBIAN_FRONTEND noninteractive
 
 
 # install postgresql on database machine
 # install postgresql on database machine
-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}
 
 
 # Make sure all the configuration files in main belong to postgres
 # Make sure all the configuration files in main belong to postgres
 RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf
 RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf