Skip to content

Commit f9ccd74

Browse files
committed
Upgrade PostgreSQL from 10 to 13
1 parent c7172af commit f9ccd74

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

openshift/system/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,17 @@ RUN yum-config-manager --save --setopt=cbs.centos.org_repos_sclo7-rh-ruby26-rh-c
2323
&& rpm -Uvh https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
2424
&& yum -y update \
2525
&& yum remove -y postgresql \
26+
&& yum install -y epel-release \
2627
&& yum -y install centos-release-scl-rh \
2728
ImageMagick \
2829
ImageMagick-devel \
2930
unixODBC-devel \
3031
mysql \
31-
postgresql10 postgresql10-devel postgresql10-libs \
32+
llvm5.0-devel \
33+
postgresql13 postgresql13-devel postgresql13-libs \
3234
file \
3335
$NODEJS_SCL \
3436
$GIT_SCL \
35-
&& yum install -y epel-release \
3637
&& yum -y clean all
3738

3839
# Install sphinx search
@@ -59,7 +60,7 @@ ENV BASH_ENV=/opt/system/etc/scl_enable \
5960
RUN export ${BUNDLER_ENV} >/dev/null\
6061
&& source /opt/system/etc/scl_enable \
6162
&& gem install bundler --version 2.2.25 \
62-
&& bundle config build.pg --with-pg-config=/usr/pgsql-10/bin/pg_config \
63+
&& bundle config build.pg --with-pg-config=/usr/pgsql-13/bin/pg_config \
6364
&& bundle install --deployment --jobs $(grep -c processor /proc/cpuinfo) --retry=5
6465

6566
RUN chgrp root /opt/system/

0 commit comments

Comments
 (0)