enable cache

This commit is contained in:
Alexander Stefanov 2019-06-29 00:58:25 +03:00
parent a9f07c9e13
commit db6a4b1aad
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
FROM rosalab/rosa2016.1 FROM rosalab/rosa2019.1
RUN urpmi --auto --auto-update --no-verify-rpm \ RUN urpmi --auto --auto-update --no-verify-rpm \
&& rm -f /etc/localtime \ && rm -f /etc/localtime \

View file

@ -32,7 +32,7 @@ config_opts['urpm_options'] = '$extra_cfg_urpm_options'
config_opts['root'] = '$platform_name-$platform_arch' config_opts['root'] = '$platform_name-$platform_arch'
config_opts['chroot_setup'] = 'basesystem-minimal basesystem-build xz timezone' config_opts['chroot_setup'] = 'basesystem-minimal basesystem-build xz timezone'
#config_opts['urpm_options'] = '--xml-info=never $extra_cfg_urpm_options' #config_opts['urpm_options'] = '--xml-info=never $extra_cfg_urpm_options'
config_opts['plugin_conf']['root_cache_enable'] = False config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['root_cache_opts']['age_check'] = True config_opts['plugin_conf']['root_cache_opts']['age_check'] = True
config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 1 config_opts['plugin_conf']['root_cache_opts']['max_age_days'] = 1
config_opts['plugin_conf']['ccache_enable'] = False config_opts['plugin_conf']['ccache_enable'] = False