Changes for virtualization/docker/docker-run.sh: 3 added lines, 6 removed lines.
Original line number
Diff line number
Diff line
@@ -3,14 +3,11 @@ set -exo pipefail
cd"$(dirname${BASH_SOURCE})"
# !! The -u option below needs to be defined so we don't write to a user's bound ~/.m2/repository as root.
# !! but using this also means we either need to setup a user with the same id, or we execute without a username and home directory.
# !! This means we can't bind the .m2 directory to any user's directory (like /root/.m2).
# !! We _must_ define $MAVEN_CONFIG explicitly as a location that is not /root/.m2; the user executing this may not have access to the container's user's directory.