From 95f1bb5740dfbd2f10431d5074c405bed4086216 Mon Sep 17 00:00:00 2001 From: Oguz Ozturk Date: Wed, 29 May 2024 00:26:12 +0300 Subject: [PATCH] add clone repositories into build.sh Signed-off-by: Oguz Ozturk --- docker/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docker/build.sh b/docker/build.sh index d92e783bf75..284225fb36b 100755 --- a/docker/build.sh +++ b/docker/build.sh @@ -96,6 +96,13 @@ load_env() { fi } +# Clone repositories +clone_repositories() { + cd "$WORKSPACE_ROOT" + mkdir -p src + vcs import src < autoware/autoware.repos +} + # Build images build_images() { # https://github.com/docker/buildx/issues/484 @@ -133,4 +140,5 @@ set_build_options set_platform set_arch_lib_dir load_env +clone_repositories build_images