latest pushes

This commit is contained in:
Ronaldson Bellande 2024-05-10 02:41:17 -04:00
parent 9c83c4fa00
commit e7d107b744
3 changed files with 9 additions and 3 deletions

View File

@ -84,5 +84,10 @@ RUN cd $CATKIN_WS \
&& rosdep fix-permissions \
&& rosdep install -y --from-paths . --ignore-src --rosdistro ${ROS_VERSION}
# Always source catkin_setup.sh when launching bash
COPY ../scripts/catkin_setup.sh /usr/local/bin/catkin_setup.sh
RUN echo "source /usr/local/bin/catkin_setup.sh" >> /root/.bashrc
RUN chmod +x /usr/local/bin/catkin_setup.sh
ENTRYPOINT ["/usr/local/bin/catkin_setup.sh"]
CMD ["bash"]

1
scripts/.gitignore vendored
View File

@ -1,3 +1,4 @@
push.sh
fix_errors.sh
repository_recal.sh
test.sh

View File

@ -16,6 +16,6 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
catkin build
source "/opt/ros/noetic/setup.bash"
source "$CATKIN_WS/devel/setup.bash"
colcon build
source "/opt/ros/foxy/setup.bash"
source "$CATKIN_WS/install/setup.bash"