mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-02 04:56:58 +00:00
The "user.home" system property in JVM does not use the "HOME" environment variable. This breaks Ant and Maven builds with Podman, which attempts to look up the local Maven repository in "/root/.m2" when building tools, for example: build.xml:757: /root/.m2/repository does not exist. To fix the issue, let's bind-mount an /etc/passwd file, which contains host username for UID 0, which ensures that Podman container $USER and $HOME are the same as on the host. Message-Id: <20200817085720.1756807-1-penberg@scylladb.com>