Show More
@@ -1,6 +1,9 b'' | |||||
1 | FROM centos:centos5 |
|
1 | FROM centos:centos5 | |
|
2 | RUN sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo | |||
|
3 | RUN sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo | |||
|
4 | RUN sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo | |||
2 | RUN yum install -y gcc make rpm-build gettext tar |
|
5 | RUN yum install -y gcc make rpm-build gettext tar | |
3 | RUN yum install -y python-devel python-docutils |
|
6 | RUN yum install -y python-devel python-docutils | |
4 | # For creating repo meta data |
|
7 | # For creating repo meta data | |
5 | RUN yum install -y createrepo |
|
8 | RUN yum install -y createrepo | |
6 | RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel |
|
9 | RUN yum install -y readline-devel openssl-devel ncurses-devel zlib-devel bzip2-devel |
General Comments 0
You need to be logged in to leave comments.
Login now