We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ac627dd commit f464319Copy full SHA for f464319
1 file changed
.devel/sas/Dockerfile
@@ -2,11 +2,12 @@ FROM juanjqo/ubuntu_24_dqrobotics_ros_jazzy
2
SHELL ["/bin/bash", "-c"]
3
ENV BASH_ENV="/etc/bash_env"
4
5
-# Make directory and download sas installation instructions
6
-RUN mkdir -p ~/sas_install
7
-RUN cd ~/sas_install && git clone -b jazzy https://github.com/SmartArmStack/smart_arm_stack_ROS2.git sas
8
-
9
-# Install SAS
10
-RUN chmod +x ~/sas_install/sas/install.sh
11
-RUN bash -c '~/sas_install/sas/install.sh'
+# Branch of this repository from which to download the install script
+ARG BRANCH=jazzy
12
+# Run install script
+RUN mkdir -p ~/sas_install \
+&& cd ~/sas_install \
+&& curl -OL "https://raw.githubusercontent.com/SmartArmStack/smart_arm_stack_ROS2/refs/heads/${BRANCH}/install.sh" \
+&& chmod +x install.sh \
13
+&& bash -c "./install.sh"
0 commit comments