From 6365d75566174c2235ffa74f33cc8c998d27ba02 Mon Sep 17 00:00:00 2001 From: ParsaKhaledi Date: Sun, 10 Nov 2024 10:56:35 +0330 Subject: [PATCH] sperate git clone and install dependencies of PX4 --- dockerFile/Dockerfile_px4_sim_NO_GPU | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerFile/Dockerfile_px4_sim_NO_GPU b/dockerFile/Dockerfile_px4_sim_NO_GPU index 6e1d20d..5583d4f 100755 --- a/dockerFile/Dockerfile_px4_sim_NO_GPU +++ b/dockerFile/Dockerfile_px4_sim_NO_GPU @@ -31,8 +31,8 @@ RUN apt update && \ # RUN pip3 install --user -U pyros-genmsg jsonschema jinja2 colcon-ros kconfiglib scipy ## PX4 Stuff -RUN cd / && git clone https://github.com/PX4/PX4-Autopilot.git -b v1.15.1 --recursive &&\ - cd PX4-Autopilot && ./Tools/setup/ubuntu.sh +RUN cd / && git clone https://github.com/PX4/PX4-Autopilot.git -b v1.15.1 --recursive +RUN cd /PX4-Autopilot && ./Tools/setup/ubuntu.sh ## Install Nav2 and rtabmap