tito/hacking/titotest-centos-7/Dockerfile
Ernestas Kulik 3a79fdde9f Move to python-blessed
As python-blessings is unmaintained nowadays and is not packaged for
EPEL 8, it might be good to move to an active fork.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1777377
2020-01-13 09:04:38 +01:00

38 lines
980 B
Docker

FROM centos:7
MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
RUN yum -y install epel-release
RUN yum -y install \
git \
git-annex \
python-bugzilla \
python-mock \
python-nose \
python-pep8 \
rpm-build \
createrepo_c \
tar \
python-devel \
which \
asciidoc \
docbook-style-xsl \
libxslt \
rpmdevtools \
python-blessed \
&& yum clean all
RUN useradd sandbox
RUN git config --system user.email "sandbox@example.com"
RUN git config --system user.name "sandbox"
ADD tito.spec /tmp/tito.spec
RUN yum -y install yum-utils \
&& yum-builddep -y /tmp/tito.spec \
&& yum clean all
USER sandbox
VOLUME ["/home/sandbox"]
WORKDIR /home/sandbox
ENV LANG C
CMD ["/bin/bash"]