mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-30 11:36:54 +00:00
The default of DBUILD_TOOL=docker requires passwordless access to docker by the user of dbuild. This is insecure, as any user with unconstrained access to docker is root equivalent. Therefore, users might prefer to run docker as root (e.g. by setting DBUILD_TOOL="sudo docker"). However, `$tool -e HOME` exports HOME as seen by $tool. This breaks dbuild when `$tool` runs docker as a another user. `$tool -e HOME="$HOME"` exports HOME as seen by dbuild, which is the intended behaviour. Closes #7555