Mmuzaf commented on code in PR #2852:
URL: https://github.com/apache/cassandra/pull/2852#discussion_r1545321822
##########
.build/docker/_docker_run.sh:
##########
@@ -118,11 +122,11 @@ docker_command="export
ANT_OPTS=\"-Dbuild.dir=\${DIST_DIR} ${CASSANDRA_DOCKER_AN
# run without the default seccomp profile
# re-use the host's maven repository
container_id=$(docker run --name ${container_name} -d --security-opt
seccomp=unconfined --rm \
- -v "${cassandra_dir}":/home/build/cassandra -v
~/.m2/repository/:/home/build/.m2/repository/ -v "${build_dir}":/dist \
+ -v "${cassandra_dir}":/home/build/cassandra -v
${m2_dir}:/home/build/.m2/repository/ -v "${build_dir}":/dist \
Review Comment:
Inside the `docker/run-tests.sh` we are mapping these params in the
following way:
```
docker_mounts="-v
${cassandra_dir}:/home/cassandra/cassandra -v
"${build_dir}":/home/cassandra/cassandra/build -v
${m2_dir}:/home/cassandra/.m2/repository"
```
and here the mapping is different, should it be the same?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]