From 3040e56a73d533b0fbcd452dd81d8c87e4810ed6 Mon Sep 17 00:00:00 2001 From: RS <132844576+RuimingShen@users.noreply.github.com> Date: Wed, 12 Feb 2025 10:53:24 -0800 Subject: [PATCH 1/3] Update Dockerfile.cuda11.8 fix problem with last line, for more info regarding this problem see this link: https://stackoverflow.com/questions/61055324/docker-cannot-execute-binary-file add slack channel software fix in this file at line 63, update sdk version 4.0->4.1 --- setup/Dockerfile.cuda11.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/Dockerfile.cuda11.8 b/setup/Dockerfile.cuda11.8 index 687533803..6e5b3750c 100644 --- a/setup/Dockerfile.cuda11.8 +++ b/setup/Dockerfile.cuda11.8 @@ -19,7 +19,7 @@ RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime \ && rm -rf /var/lib/apt/lists/* # install Zed SDK -RUN wget https://download.stereolabs.com/zedsdk/4.0/cu118/ubuntu20 -O zed_sdk.run +RUN wget https://download.stereolabs.com/zedsdk/4.1/cu118/ubuntu20 -O zed_sdk.run RUN chmod +x zed_sdk.run RUN ./zed_sdk.run -- silent @@ -60,7 +60,7 @@ RUN cd /catkin_ws/src && git clone https://github.com/ros-perception/radar_msgs. && cd radar_msgs && git checkout noetic RUN source /opt/ros/noetic/setup.bash && cd /catkin_ws && rosdep install --from-paths src --ignore-src -r -y -RUN source /opt/ros/noetic/setup.bash && cd /catkin_ws && catkin_make -DCMAKE_BUILD_TYPE=Release +RUN source /opt/ros/noetic/setup.bash && cd /catkin_ws && catkin_make -DCMAKE_BUILD_TYPE=Release -j1 # Copy requirements.txt from host (now relative to parent directory) COPY requirements.txt /tmp/requirements.txt @@ -80,4 +80,4 @@ RUN echo "source /catkin_ws/devel/setup.bash" >> /home/${USER}/.bashrc # BASE END CONFIG WORKDIR /home/${USER} -ENTRYPOINT ["/bin/bash"] \ No newline at end of file +ENTRYPOINT [ "/bin/bash", "-l", "-c" ] From ca9ca3e47c60fa556b00b12932a8a573bde27c23 Mon Sep 17 00:00:00 2001 From: RuimingShen Date: Wed, 12 Feb 2025 18:47:45 -0800 Subject: [PATCH 2/3] fixSDK --- setup/Dockerfile.cuda11.8 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/Dockerfile.cuda11.8 b/setup/Dockerfile.cuda11.8 index 6e5b3750c..e931083c2 100644 --- a/setup/Dockerfile.cuda11.8 +++ b/setup/Dockerfile.cuda11.8 @@ -18,8 +18,8 @@ RUN ln -fs /usr/share/zoneinfo/$TZ /etc/localtime \ && apt-get update && apt-get install -y tzdata \ && rm -rf /var/lib/apt/lists/* -# install Zed SDK -RUN wget https://download.stereolabs.com/zedsdk/4.1/cu118/ubuntu20 -O zed_sdk.run +# install Zed SDK. If you want to install a different version, change to this https://download.stereolabs.com/zedsdk/4.2/cu12/ubuntu20 +RUN wget https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedsdk/4.2/ZED_SDK_Ubuntu20_cuda12.1_v4.2.4.zstd.run -O zed_sdk.run RUN chmod +x zed_sdk.run RUN ./zed_sdk.run -- silent From 14407a71afd1199b8e76aedf62dae678230b7ce5 Mon Sep 17 00:00:00 2001 From: RuimingShen Date: Wed, 12 Feb 2025 19:42:18 -0800 Subject: [PATCH 3/3] remove-c --- setup/Dockerfile.cuda11.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/Dockerfile.cuda11.8 b/setup/Dockerfile.cuda11.8 index e931083c2..a3f7ac6df 100644 --- a/setup/Dockerfile.cuda11.8 +++ b/setup/Dockerfile.cuda11.8 @@ -80,4 +80,4 @@ RUN echo "source /catkin_ws/devel/setup.bash" >> /home/${USER}/.bashrc # BASE END CONFIG WORKDIR /home/${USER} -ENTRYPOINT [ "/bin/bash", "-l", "-c" ] +ENTRYPOINT [ "/bin/bash", "-l" ]