Skip to content

Commit 1173222

Browse files
committed
Install CentOS SCL for CentOS7, required for PostgreSQL >= 11
1 parent 229e7ba commit 1173222

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

centos7/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ RUN if [ ! -f /etc/yum.repos.d/postgresql-${POSTGRESQL_VER/./}.repo ]; then \
4040
# PostgreSQL packages (cache will be used for previous steps)
4141
ARG DATE=None
4242

43-
# Generate a list of original packages, update and install PostgreSQL and sudo
43+
# Generate a list of original packages, add CentOS SCL, update and install PostgreSQL and sudo
4444
RUN rpm -qa --qf "%{NAME}\n" > /opt/packages-image.txt && \
45+
yum -y -q install centos-release-scl && \
4546
yum -y -q update && \
4647
yum -y -q install \
4748
postgresql${POSTGRESQL_VER/./} \

0 commit comments

Comments
 (0)