view contrib/docker/centos5 @ 33852:f18b11534274

py3: make encoding.strio() an identity function on Python 2 It's the convention the other encoding.str*() functions follow. To make things simple, this also drops kwargs from the strio() constructor.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 16 Aug 2017 13:50:11 +0900
parents aa7a3f6e3729
children 1baa077214ae
line wrap: on
line source

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