From df0b642a01d0ee9673dd98462082730d900ebe36 Mon Sep 17 00:00:00 2001 From: Jakub Kadlčík Date: Apr 15 2019 16:21:21 +0000 Subject: [docker] create distgit conf from scratch Currently we append to the existing one and therefore ends up with multiple definitions of the same section. Fixes: PR#657 --- diff --git a/docker/distgit/Dockerfile b/docker/distgit/Dockerfile index 12940e7..e721dd0 100644 --- a/docker/distgit/Dockerfile +++ b/docker/distgit/Dockerfile @@ -27,7 +27,7 @@ RUN rm -rf /tmp/rpkg/* && \ RUN mkdir /tmp/copr-dist-git RUN chown copr-dist-git:packager /tmp/copr-dist-git -RUN echo "[dist-git]" >> /etc/copr/copr-dist-git.conf && \ +RUN echo "[dist-git]" > /etc/copr/copr-dist-git.conf && \ echo "frontend_base_url=http://frontend" >> /etc/copr/copr-dist-git.conf && \ echo "frontend_auth=1234" >> /etc/copr/copr-dist-git.conf && \ chmod 644 /etc/copr/copr-dist-git.conf