about summary refs log tree commit diff
path: root/third_party/abseil_cpp/ci/cmake_install_test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/abseil_cpp/ci/cmake_install_test.sh')
-rwxr-xr-xthird_party/abseil_cpp/ci/cmake_install_test.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/abseil_cpp/ci/cmake_install_test.sh b/third_party/abseil_cpp/ci/cmake_install_test.sh
index b31e4b8cdb27..5bf540c53828 100755
--- a/third_party/abseil_cpp/ci/cmake_install_test.sh
+++ b/third_party/abseil_cpp/ci/cmake_install_test.sh
@@ -20,11 +20,13 @@ if [[ -z ${ABSEIL_ROOT:-} ]]; then
   ABSEIL_ROOT="$(realpath $(dirname ${0})/..)"
 fi
 
+source "${ABSEIL_ROOT}/ci/cmake_common.sh"
+
 source "${ABSEIL_ROOT}/ci/linux_docker_containers.sh"
 readonly DOCKER_CONTAINER=${LINUX_GCC_LATEST_CONTAINER}
 
 time docker run \
-    --volume="${ABSEIL_ROOT}:/abseil-cpp:ro" \
+    --mount type=bind,source="${ABSEIL_ROOT}",target=/abseil-cpp,readonly \
     --workdir=/abseil-cpp \
     --tmpfs=/buildfs:exec \
     --cap-add=SYS_PTRACE \