1FROM centos:7
2ENV PATH /var/lib/:$PATH
3EXPOSE 10000
4EXPOSE 5678
5RUN yum install -y python3 python3-devel make gcc git && \
6yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm && \
7yum install -y python36-Cython wheel && \
8yum install -y proj geos-devel trang patch unzip bzip2 && \
9yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm && \
10yum install -y postgresql13-server
11ENV PATH $PATH:/usr/pgsql-13/bin/
12RUN useradd -ms /bin/bash chart_user
13USER chart_user