Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dedal
Manage
Activity
Members
Labels
Plan
Issues
2
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Harbor Registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EBRAINS RI
Tech Hub
Platform
EBRAINS Software Distribution
dedal
Commits
580c9df0
Commit
580c9df0
authored
3 years ago
by
Eric Müller
Browse files
Options
Downloads
Patches
Plain Diff
Fix outdated repo caches
Change-Id: I962c75d2a9db4e01c028d44774306d899d267827
parent
17c80249
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.ci/asic_create_recipe.sh
+9
-0
9 additions, 0 deletions
.ci/asic_create_recipe.sh
with
9 additions
and
0 deletions
.ci/asic_create_recipe.sh
+
9
−
0
View file @
580c9df0
...
@@ -56,6 +56,12 @@ From: ${DOCKER_BASE_IMAGE}
...
@@ -56,6 +56,12 @@ From: ${DOCKER_BASE_IMAGE}
${
JENKINS_ENV_FILE
}
${
JENKINS_ENV_FILE_INSIDE
}
${
JENKINS_ENV_FILE
}
${
JENKINS_ENV_FILE_INSIDE
}
%post
%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
# Apparently, upon building the CentOS docker images it has been decided that
# (for space-saving reasons) exactly one locale (en_US.utf8) is installed.
# (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
# We don't care about the little extra space and user experience benefits from
...
@@ -84,6 +90,9 @@ From: ${DOCKER_BASE_IMAGE}
...
@@ -84,6 +90,9 @@ From: ${DOCKER_BASE_IMAGE}
# ECM: and userspace mount stuff
# ECM: and userspace mount stuff
yum -y install fuse3
yum -y install fuse3
# ECM: save some more space
yum clean all
# create a fingerprint by which we can identify the container from within
# create a fingerprint by which we can identify the container from within
cat /proc/sys/kernel/random/uuid > /opt/fingerprint
cat /proc/sys/kernel/random/uuid > /opt/fingerprint
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment