Add a few tweaks for speed
This commit is contained in:
parent
03a51ae47d
commit
3d304b2237
2 changed files with 6 additions and 1 deletions
|
@ -6,10 +6,12 @@ LABEL org.opencontainers.image.authors="Carlos Mogas da Silva <r3pek@r3pek.org>"
|
||||||
maintainer="Carlos Mogas da Silva <r3pek@r3pek.org>"
|
maintainer="Carlos Mogas da Silva <r3pek@r3pek.org>"
|
||||||
|
|
||||||
RUN dnf update -y && dnf upgrade -y; \
|
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/*
|
dnf clean all && rm -rf /var/cache/dnf/*
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
|
COPY site-defaults.cfg /etc/mock/
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
||||||
|
|
3
site-defaults.cfg
Normal file
3
site-defaults.cfg
Normal file
|
@ -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'] = ""
|
Loading…
Reference in a new issue