contrib/docker/centos5
author Pierre-Yves David <pierre-yves.david@fb.com>
Thu, 24 Sep 2015 00:34:15 -0700
changeset 26348 b80b2ee71a08
parent 23034 eea2e0f76a24
child 33626 aa7a3f6e3729
permissions -rw-r--r--
check-code: forbid mutable value for default argument default value are common to all call. Using mutable value is a classical source of bug in Python. We forbid it. The regexp (Courtesy of Matt Mackall) is only catching such value on the first line of a definition, but that will be good enough for now.

FROM centos:centos5
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