contrib/docker/centos5
author Boris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:43:39 +0200
changeset 34113 a6fa5af781a4
parent 33628 aa7a3f6e3729
child 34423 1baa077214ae
permissions -rw-r--r--
configitems: register the 'patchbomb.flagtemplate' config

FROM centos:centos5
RUN sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
RUN sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo
RUN sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo
RUN yum install -y gcc make rpm-build gettext tar
RUN yum install -y python-devel python-docutils
# For creating repo meta data
RUN yum install -y createrepo
RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel