We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f3e831 commit d7caa8cCopy full SHA for d7caa8c
releng/docker/image-build.sh
@@ -54,7 +54,9 @@ extra_pkgs=()
54
55
kern_series=()
56
57
-host_mounts=()
+# By default, mount tmpfs on /var/cache/xbps
58
+host_mounts=( --mount "type=tmpfs,dst=/var/cache/xbps" )
59
+
60
host_repos=()
61
62
web_repos=()
@@ -188,7 +190,6 @@ buildah run "${host_mounts[@]}" "${container}" \
188
190
buildah run "${container}" sh -c 'echo "ignorepkg=dkms" > /etc/xbps.d/10-nodkms.conf'
189
191
buildah run "${container}" xbps-pkgdb -m manual binutils
192
buildah run "${container}" xbps-remove -Roy dkms "${kern_headers[@]}"
-buildah run "${container}" sh -c 'rm -f /var/cache/xbps/*'
193
194
# Record a commit hash if one is available
195
if [ -n "${zbm_commit_hash}" ]; then
0 commit comments