centos5
23 lines
| 512 B
| text/plain
|
TextLexer
Mads Kiilerich
|
r23034 | FROM centos:centos5 | ||
muxator
|
r34424 | RUN \ | ||
sed -i 's/^mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo && \ | ||||
sed -i 's/^#\(baseurl=\)http:\/\/mirror.centos.org\/centos/\1http:\/\/vault.centos.org/' /etc/yum.repos.d/*.repo && \ | ||||
sed -i 's/\$releasever/5.11/' /etc/yum.repos.d/*.repo | ||||
RUN yum install -y \ | ||||
gcc \ | ||||
gettext \ | ||||
make \ | ||||
python-devel \ | ||||
python-docutils \ | ||||
rpm-build \ | ||||
tar | ||||
Mads Kiilerich
|
r22444 | # For creating repo meta data | ||
muxator
|
r34424 | RUN yum install -y \ | ||
bzip2-devel \ | ||||
createrepo \ | ||||
ncurses-devel \ | ||||
openssl-devel \ | ||||
readline-devel \ | ||||
zlib-devel | ||||