1
0
mirror of https://github.com/daniviga/qgis3-cd-copr.git synced 2024-11-22 01:36:13 +01:00

Avoid transaction errors in dnf

This commit is contained in:
Daniele Viganò 2018-02-26 21:03:55 +01:00
parent a07366bae3
commit 9ec8cdabcd
2 changed files with 6 additions and 4 deletions

View File

@ -2,8 +2,9 @@
FROM registry.fedoraproject.org/fedora:26
MAINTAINER Daniele Viganò <daniele@vigano.me>
RUN dnf install -y sudo tar bzip2 git python3-pip mock copr-cli && \
dnf clean all
RUN dnf install -y sudo findutils tar bzip2 git python3-pip mock copr-cli && \
dnf clean all && \
find /var/cache/dnf -type d -delete
# Use a Twisted binary wheel to avoid too many dependencies
RUN pip3 install https://daniele.vigano.me/files/pypi/Twisted-17.9.0-cp36-cp36m-manylinux1_x86_64.whl \
buildbot-worker

View File

@ -2,8 +2,9 @@
FROM registry.fedoraproject.org/fedora:27
MAINTAINER Daniele Viganò <daniele@vigano.me>
RUN dnf install -y sudo tar bzip2 git python3-pip mock copr-cli && \
dnf clean all
RUN dnf install -y sudo findutils tar bzip2 git python3-pip mock copr-cli && \
dnf clean all && \
find /var/cache/dnf -type d -delete
# Use a Twisted binary wheel to avoid too many dependencies
RUN pip3 install https://daniele.vigano.me/files/pypi/Twisted-17.9.0-cp36-cp36m-manylinux1_x86_64.whl \
buildbot-worker