summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2020-03-24 14:14:40 +0200
committerFlorian Festi <ffesti@redhat.com>2020-03-24 13:48:15 +0100
commit89baad28d6d063d8b5a18195ecf95f8e25c9fcf5 (patch)
treeb746ed223ab39f7fdf51eda2133154c5511c0f36 /ci
parentcf846fd33d7bc1621d93852b85d6a88ee8e9d105 (diff)
downloadrpm-89baad28d6d063d8b5a18195ecf95f8e25c9fcf5.tar.gz
Move CI copy to later for more caching opportunities
Diffstat (limited to 'ci')
-rw-r--r--ci/Dockerfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/ci/Dockerfile b/ci/Dockerfile
index 73edcbe55..2524d6cea 100644
--- a/ci/Dockerfile
+++ b/ci/Dockerfile
@@ -2,7 +2,6 @@ FROM fedora
MAINTAINER Igor Gnatenko <i.gnatenko.brain@gmail.com>
WORKDIR /srv/rpm
-COPY . .
RUN echo -e "deltarpm=0\ninstall_weak_deps=0\ntsflags=nodocs" >> /etc/dnf/dnf.conf
RUN rm -f /etc/yum.repos.d/*modular.repo
@@ -47,6 +46,9 @@ RUN dnf -y install \
/usr/bin/gdb-add-index \
dwz \
&& dnf clean all
+
+COPY . .
+
RUN autoreconf -vfi
RUN ./configure \
--with-crypto=libgcrypt \