]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
script/build-with-container: skip dnf cache dir volume mounts on docker
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 20 Feb 2025 14:50:49 +0000 (09:50 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Fri, 28 Feb 2025 20:16:35 +0000 (15:16 -0500)
commit4208a736652190fdaad3006c435f6c068e81a093
tree9673abad466bb765ee62e06f29a5e3b81b78a4aa
parent612a9d6808f4f1d4f93aeca055acba064e7a1209
script/build-with-container: skip dnf cache dir volume mounts on docker

When using docker the --volume option is not available during build
(docker [buildx] build), unlike podman. Since passing these volumes must
be conditional on them being set up I see no way to handle this short of
just disabling the option on docker. Log the fact that it's being
skipped - the only other issue is that we pointlessly set up some dirs
and the build may be a bit slower.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/script/build-with-container.py