Install redhat-rpm-config to ensure debuginfo packages
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Jan 2017 09:29:34 +0000 (10:29 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 4 Jan 2017 09:29:34 +0000 (10:29 +0100)
id-deb-build/docker-build.sh

index b4ad44d..4a03468 100755 (executable)
@@ -223,7 +223,7 @@ if test "${CENTOS_DIST}"; then
        cd build/centos/$dist
 
        echo "FROM centos:$D" >Dockerfile
        cd build/centos/$dist
 
        echo "FROM centos:$D" >Dockerfile
-       echo "RUN yum install -y wget yum-utils rpm-build gcc gcc-c++ make" >>Dockerfile
+       echo "RUN yum install -y wget yum-utils redhat-rpm-config rpm-build gcc gcc-c++ make" >>Dockerfile
        echo "RUN rpm --import http://ftp.indexdata.com/pub/yum/centos/$F/RPM-GPG-KEY-indexdata" >>Dockerfile
        echo "RUN wget http://ftp.indexdata.com/pub/yum/centos/$F/indexdata.repo -P /etc/yum.repos.d/" >>Dockerfile
        echo 'ENTRYPOINT ["/bin/sh", "-c"]' >>Dockerfile
        echo "RUN rpm --import http://ftp.indexdata.com/pub/yum/centos/$F/RPM-GPG-KEY-indexdata" >>Dockerfile
        echo "RUN wget http://ftp.indexdata.com/pub/yum/centos/$F/indexdata.repo -P /etc/yum.repos.d/" >>Dockerfile
        echo 'ENTRYPOINT ["/bin/sh", "-c"]' >>Dockerfile