Skip to content

Commit be762d3

Browse files
authored
Update postgres.dockerfile (#6842)
1 parent 2a15b9a commit be762d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolset/databases/postgres/postgres.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ENV LC_ALL en_US.UTF-8
2222
ENV DEBIAN_FRONTEND noninteractive
2323

2424
# install postgresql on database machine
25-
RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql postgresql-contrib
25+
RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql-${PG_VERSION} postgresql-contrib-${PG_VERSION}
2626

2727
# Make sure all the configuration files in main belong to postgres
2828
RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf

0 commit comments

Comments
 (0)