##// END OF EJS Templates
packaging: print full path to the packages when builddeb finishes successfully
packaging: print full path to the packages when builddeb finishes successfully

File last commit:

r38475:11eda1f1 default
r40139:01425e3c default
Show More
centos5
27 lines | 606 B | text/plain | TextLexer
FROM centos:centos5
RUN groupadd -g 1000 build && \
useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build
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
# For creating repo meta data
RUN yum install -y \
bzip2-devel \
createrepo \
ncurses-devel \
openssl-devel \
readline-devel \
zlib-devel