view contrib/packaging/docker/centos6 @ 40240:6f3e733848ae

churn: fix stack traces on Python 3 Differential Revision: https://phab.mercurial-scm.org/D5062
author Augie Fackler <augie@google.com>
date Sat, 13 Oct 2018 05:58:16 -0400
parents 11eda1f1b6e7
children 4c0d4bbdc395
line wrap: on
line source

FROM centos:centos6

RUN groupadd -g 1000 build && \
    useradd -u 1000 -g 1000 -s /bin/bash -d /build -m build

RUN yum install -y \
	gcc \
	gettext \
	make \
	python-devel \
	python-docutils \
	rpm-build \
	tar

# For creating repo meta data
RUN yum install -y createrepo

# For python
RUN yum install -y \
	bzip2-devel \
	ncurses-devel \
	openssl-devel \
	readline-devel \
	zlib-devel