FROM centos:7
RUN yum -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm
RUN yum -y check-update; yum -y install postgresql11-devel make gcc
RUN mkdir /root/llvm_bugreport
WORKDIR /root/llvm_bugreport
COPY Makefile dummy.c build.sh ./
RUN chmod u+x build.sh
CMD ./build.sh
