Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The command 'stat -c "%u" pom.xml' is used to get the UID from host. However, the command is not supported by macOS. Hence, macOS users can't pass 'mvn xxxx' to call build_ranger_using_docker.sh since it causes error like "stat: illegal option – c". The maven cache of host is mounted to correct path when the command line starts with "mvn". In other words, macOS users can't reuse maven cache and all dependencies have to be download again...
This patch aims to add following changes.
1. instead of using gosu, we directly align UDI inside/outside containers (the container can modify the .m2 folder of host)
2. mount the m2 folder to correct path when running container.
Attachments
Issue Links
- links to