#657 [docker] create distgit conf from scratch
Closed 5 years ago by praiskup. Opened 5 years ago by frostyx.
copr/ frostyx/copr fix-docker-distgit-conf  into  master

file modified
+1 -1
@@ -27,7 +27,7 @@ 

  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

Currently we append to the existing one and therefore ends up
with multiple definitions of the same section.

Pull-Request has been closed by praiskup

5 years ago
Metadata