File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed
Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,13 @@ ENV BASH_ENV="/etc/bash_env"
55# Branch of this repository from which to download the install script
66ARG BRANCH=jazzy
77
8+ # Update apt-get
9+ RUN sudo apt-get update -q \
10+ && sudo apt-get upgrade -y \
11+ && sudo apt-get autoremove -y \
12+ && apt-get clean \
13+ && rm -rf /var/lib/apt/lists/*
14+
815# Run install script
916RUN mkdir -p ~/sas_install \
1017&& cd ~/sas_install \
Original file line number Diff line number Diff line change @@ -3,6 +3,13 @@ FROM juanjqo/ubuntu_24_dqrobotics_ros_jazzy
33SHELL ["/bin/bash" , "-c" ]
44ENV BASH_ENV="/etc/bash_env"
55
6+ # Update apt-get
7+ RUN sudo apt-get update -q \
8+ && sudo apt-get upgrade -y \
9+ && sudo apt-get autoremove -y \
10+ && apt-get clean \
11+ && rm -rf /var/lib/apt/lists/*
12+
613# SAS-RELATED THINGS (no need for recursive here)
714RUN mkdir -p ~/sas_ws/src
815RUN cd ~/sas_ws/src && git clone -b jazzy https://github.com/SmartArmStack/smart_arm_stack_ROS2.git sas
Original file line number Diff line number Diff line change 44# Add SAS apt sources
55curl -s --compressed " https://smartarmstack.github.io/smart_arm_stack_ROS2/KEY.gpg" | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/smartarmstack_lgpl.gpg > /dev/null
66sudo curl -s --compressed -o /etc/apt/sources.list.d/smartarmstack_lgpl.list " https://smartarmstack.github.io/smart_arm_stack_ROS2/smartarmstack_lgpl.list"
7+
78# Update & upgrade apt
89sudo apt-get update -q
910sudo apt-get upgrade -y
1011sudo apt-get autoremove -y
12+
1113# Install sas
1214sudo apt-get install ros-jazzy-sas-*
15+
1316# Remove unused apt info
1417apt-get clean
1518rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.
0 commit comments