From 7e1f9614ede998886ed73f7b29ddc19f42378783 Mon Sep 17 00:00:00 2001 From: Moritz Sanft <58110325+msanft@users.noreply.github.com> Date: Mon, 18 Sep 2023 09:19:51 +0200 Subject: [PATCH] mount AWS credentials file into Bazel container Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> --- bazel/container/container.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bazel/container/container.sh b/bazel/container/container.sh index 74d1af4803..8f68c10ea9 100644 --- a/bazel/container/container.sh +++ b/bazel/container/container.sh @@ -48,6 +48,7 @@ EOF -v "${HOME}/.cache/shared_bazel_repository_cache":"${HOME}/.cache/shared_bazel_repository_cache" \ -v "${HOME}/.cache/shared_bazel_action_cache":"${HOME}/.cache/shared_bazel_action_cache" \ -v "${HOME}/.docker/config.json":"/home/builder/.docker/config.json" \ + -v "${HOME}/.aws":"/home/builder/.aws" \ -v "/tmp/bazel-container/.bazelrc":"/etc/bazel.bazelrc" \ --entrypoint=/bin/sleep \ "${containerImage}" \