diff --git a/Dockerfile b/Dockerfile index 3eaed7e..3264a1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,10 +6,12 @@ LABEL org.opencontainers.image.authors="Carlos Mogas da Silva " maintainer="Carlos Mogas da Silva " RUN dnf update -y && dnf upgrade -y; \ - dnf install -y mock rpmdevtools jq; \ + dnf install -y mock rpmdevtools jq nosync; \ dnf clean all && rm -rf /var/cache/dnf/* COPY entrypoint.sh / RUN chmod +x /entrypoint.sh + +COPY site-defaults.cfg /etc/mock/ ENTRYPOINT ["/entrypoint.sh"] diff --git a/site-defaults.cfg b/site-defaults.cfg new file mode 100644 index 0000000..035a342 --- /dev/null +++ b/site-defaults.cfg @@ -0,0 +1,3 @@ +config_opts['nosync'] = True +config_opts['plugin_conf']['root_cache_opts']['compress_program'] = "" +config_opts['plugin_conf']['root_cache_opts']['extension'] = ""