diff --git a/.ci/asic_create_recipe.sh b/.ci/asic_create_recipe.sh index d159a2f5bbb54a870ab8172717885d772520fb0f..a2fb4fe91d93e9dc48831261f7b20fd9b3d15475 100755 --- a/.ci/asic_create_recipe.sh +++ b/.ci/asic_create_recipe.sh @@ -56,6 +56,12 @@ From: ${DOCKER_BASE_IMAGE} ${JENKINS_ENV_FILE} ${JENKINS_ENV_FILE_INSIDE} %post + # ECM: drop docker image caches (often outdated) + yum clean all + + # ECM: disable http caching + echo "http_caching=none" >> /etc/yum.conf + # Apparently, upon building the CentOS docker images it has been decided that # (for space-saving reasons) exactly one locale (en_US.utf8) is installed. # We don't care about the little extra space and user experience benefits from @@ -84,6 +90,9 @@ From: ${DOCKER_BASE_IMAGE} # ECM: and userspace mount stuff yum -y install fuse3 + # ECM: save some more space + yum clean all + # create a fingerprint by which we can identify the container from within cat /proc/sys/kernel/random/uuid > /opt/fingerprint