Skip to content
Snippets Groups Projects
Commit 580c9df0 authored by Eric Müller's avatar Eric Müller :mountain_bicyclist:
Browse files

Fix outdated repo caches

Change-Id: I962c75d2a9db4e01c028d44774306d899d267827
parent 17c80249
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment