Compare commits
2 commits
03a51ae47d
...
7f6c070dfd
Author | SHA1 | Date | |
---|---|---|---|
7f6c070dfd | |||
3d304b2237 |
3 changed files with 10 additions and 1 deletions
|
@ -6,10 +6,13 @@ 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"]
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,9 @@ SYSTEM=${INPUT_SYSTEM}
|
||||||
ARCH=${INPUT_ARCH}
|
ARCH=${INPUT_ARCH}
|
||||||
NOCHECK=${INPUT_NOCHECK}
|
NOCHECK=${INPUT_NOCHECK}
|
||||||
|
|
||||||
|
rm -rf /var/lib/mock/*
|
||||||
|
mount -t tmpfs tmpfs /var/lib/mock
|
||||||
|
|
||||||
RESULT="rpms=["
|
RESULT="rpms=["
|
||||||
|
|
||||||
for SPEC in ${SPECS[@]}; do
|
for SPEC in ${SPECS[@]}; do
|
||||||
|
|
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