centos5
9 lines
| 502 B
| text/plain
|
TextLexer
|
r23034 | FROM centos:centos5 | ||
|
r33665 | 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 | ||||
|
r22443 | RUN yum install -y gcc make rpm-build gettext tar | ||
RUN yum install -y python-devel python-docutils | ||||
|
r22444 | # For creating repo meta data | ||
RUN yum install -y createrepo | ||||
|
r22443 | RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel | ||