From 340d660758b8274a16efcd5f34238f90cadd844c Mon Sep 17 00:00:00 2001 From: Yutaka Kondo Date: Mon, 10 Jun 2024 19:34:12 +0900 Subject: [PATCH] refactor(docker): fix colcon `--cmake-args` (#4828) fix colcon cmake-args Signed-off-by: Yutaka Kondo --- docker/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 3f0a53c0a84..d97b55c8cdd 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -90,11 +90,11 @@ RUN --mount=type=ssh \ COPY --from=src-imported /autoware/src /autoware/src RUN --mount=type=cache,target=${CCACHE_DIR} \ source /opt/ros/"$ROS_DISTRO"/setup.bash \ - && colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release --cmake-args \ - " -Wno-dev" \ - " --no-warn-unused-cli" \ + && colcon build --cmake-args \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ + " -Wno-dev" \ + " --no-warn-unused-cli" \ && find /autoware/install -type d -exec chmod 777 {} \; \ && chmod -R 777 /var/tmp/ccache \ && rm -rf /autoware/build /autoware/src