File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ RUN . "/opt/ros/${ROS_DISTRO}/setup.sh" \
139139
140140RUN echo "source ${USER_WORKSPACE}/install/setup.bash" >> /home/$USERNAME/.bashrc \
141141 && echo "source /opt/ros/${ROS_DISTRO}/setup.bash" >> /home/$USERNAME/.bashrc \
142+ && echo "source $VIRTUAL_ENV/bin/activate" >> /home/$USERNAME/.bashrc \
142143 && echo "\n # Ensure colcon is run in the venv\n alias colcon='python3 -m colcon'" >> /home/$USERNAME/.bashrc
143144
144145FROM robot AS desktop
@@ -189,6 +190,10 @@ RUN git clone -b ${ARDUPILOT_RELEASE} https://github.com/ArduPilot/ardupilot.git
189190# Install ArduSub dependencies
190191WORKDIR /home/$USERNAME/ardupilot
191192ENV SKIP_AP_EXT_ENV=1 SKIP_AP_GRAPHIC_ENV=1 SKIP_AP_COV_ENV=1 SKIP_AP_GIT_CHECK=1
193+ # Do not install the STM development tools
194+ ENV DO_AP_STM_ENV=0
195+ # Do not activate the Ardupilot venv by default
196+ ENV DO_PYTHON_VENV_ENV=0
192197RUN Tools/environment_install/install-prereqs-ubuntu.sh -y
193198
194199# Build ArduSub
You can’t perform that action at this time.
0 commit comments