mount host's docker config into builder container (#2044)

This commit is contained in:
Moritz Sanft 2023-07-07 08:25:43 +02:00 committed by GitHub
parent b71d5cdc17
commit bd64e6950b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ function startBazelServer {
-v "${HOME}/.cache/bazel":"/home/builder/.cache/bazel" \
-v "${HOME}/.cache/shared_bazel_repository_cache":"/home/builder/.cache/shared_bazel_repository_cache" \
-v "${HOME}/.cache/shared_bazel_action_cache":"/home/builder/.cache/shared_bazel_action_cache" \
-v "${HOME}/.docker/config.json":"/home/builder/.docker/config.json" \
--entrypoint=/bin/sleep \
"${containerImage}" \
infinity || return $?