docker run --rm${DOCKER_RUN_ENV}${VOLUME}-t ngraph_cpp_cpu:${BUILD_VERSION} sh -c"mkdir BUILD ; cd BUILD ; cmake .. ; make check"
# Make BUILD directory as user
mkdir-p${DIR}/BUILD
chmod ug+rwx ${DIR}/BUILD
# Need to use /tmp/ngraph-cpp-test/BUILD, because running as user
# Can't use /root/ngraph-cpp-test/BUILD, because /root not accessible to user
docker run --rm--user${CALLER_UID}:${CALLER_GID}${DOCKER_RUN_ENV}${VOLUME}-w /tmp/ngraph-cpp-test/BUILD -t ngraph_cpp_cpu:${BUILD_VERSION} sh -c"cmake .. ; make check"
# update the files to be owned by the calling user instead of root, to avoid docker mount problems with file ownership