Skip to content

Commit

Permalink
Add postgresql12-devel
Browse files Browse the repository at this point in the history
  • Loading branch information
Katherine Black authored and Katherine Black committed Sep 16, 2021
1 parent ee189ec commit 47576f8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.4

RUN microdnf update \
&& microdnf install libcurl-devel gcc openssl-devel python39-devel redhat-rpm-config git make ca-certificates diffutils which \
ENV PATH="$PATH:/usr/pgsql-12/bin"

RUN rpm -iv https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm \
&& microdnf update \
&& microdnf install postgresql12-devel libcurl-devel gcc openssl-devel python39-devel redhat-rpm-config git make ca-certificates diffutils which \
&& ln -s /usr/bin/pip3.9 /usr/bin/pip \
&& ln -s /usr/bin/python3.9 /usr/bin/python \
&& pip install -U pip \
Expand Down

0 comments on commit 47576f8

Please sign in to comment.