mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00

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
38 lines
980 B
Docker
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"]
|