mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-24 04:32:46 +00:00
Use dnf
instead of yum
in Fedora Rawhide tests
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
This commit is contained in:
parent
98e27fcdae
commit
9a7fb69e9e
1 changed files with 3 additions and 4 deletions
|
@ -5,8 +5,7 @@ FROM fedora:rawhide
|
||||||
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
||||||
|
|
||||||
# Install build dependencies.
|
# Install build dependencies.
|
||||||
RUN yum -y install \
|
RUN dnf -y install \
|
||||||
yum-utils \
|
|
||||||
git-annex \
|
git-annex \
|
||||||
python-devel \
|
python-devel \
|
||||||
python-mock \
|
python-mock \
|
||||||
|
@ -26,8 +25,8 @@ RUN git config --system user.name "sandbox"
|
||||||
# to work around https://github.com/dotcloud/docker/issues/1676
|
# to work around https://github.com/dotcloud/docker/issues/1676
|
||||||
ADD tito.spec /tmp/tito.spec
|
ADD tito.spec /tmp/tito.spec
|
||||||
|
|
||||||
RUN yum-builddep -y /tmp/tito.spec
|
RUN dnf builddep -y /tmp/tito.spec
|
||||||
RUN yum clean all
|
RUN dnf clean all
|
||||||
|
|
||||||
USER sandbox
|
USER sandbox
|
||||||
VOLUME ["/home/sandbox"]
|
VOLUME ["/home/sandbox"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue