mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32: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
35 lines
1 KiB
Docker
35 lines
1 KiB
Docker
FROM fedora:27
|
|
MAINTAINER Steve Kuznetsov <skuznets@redhat.com>
|
|
|
|
# Manually install python2 deps since spec won't add them
|
|
RUN dnf -y install \
|
|
'dnf-command(builddep)' \
|
|
git-annex \
|
|
python2-devel \
|
|
python-mock \
|
|
python-nose \
|
|
python-blessed \
|
|
python-pep8 \
|
|
python-setuptools \
|
|
python-bugzilla \
|
|
python2-rpm \
|
|
python3-mock \
|
|
python3-nose \
|
|
python3-blessed \
|
|
python3-pep8 \
|
|
rsync \
|
|
createrepo_c
|
|
|
|
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 dnf -y builddep /tmp/tito.spec
|
|
RUN dnf clean all
|
|
|
|
USER sandbox
|
|
VOLUME ["/home/sandbox"]
|
|
WORKDIR /home/sandbox
|
|
|
|
ENV LANG C
|
|
CMD ["/bin/bash"]
|