File tree Expand file tree Collapse file tree 3 files changed +5
-11
lines changed
Expand file tree Collapse file tree 3 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -57,12 +57,8 @@ FROM base
5757ARG SERVICE_PACKAGE=ibpc_pose_estimator_py
5858ARG SERVICE_EXECUTABLE_NAME=ibpc_pose_estimator
5959
60- RUN apt update \
61- && sudo apt install curl -y \
62- && curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg \
63- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2-testing/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
64-
6560RUN apt-get update \
61+ && apt upgrade -y \
6662 && apt install -y ros-jazzy-rmw-zenoh-cpp python3-imageio python3-png python3-pip python3-scipy \
6763 && rm -rf /var/lib/apt/lists/*
6864
Original file line number Diff line number Diff line change @@ -41,12 +41,8 @@ RUN . /opt/ros/jazzy/setup.sh \
4141# result stage: base + copied install folders from the overlay + service setup.
4242FROM base
4343
44- RUN apt update \
45- && sudo apt install curl -y \
46- && curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg \
47- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/ros-archive-keyring.gpg] http://packages.ros.org/ros2-testing/ubuntu $(. /etc/os-release && echo $UBUNTU_CODENAME) main" | sudo tee /etc/apt/sources.list.d/ros2.list > /dev/null
48-
4944RUN apt-get update \
45+ && apt upgrade -y \
5046 && apt install -y ros-jazzy-rmw-zenoh-cpp python3-imageio python3-pandas python3-png python3-pip python3-scipy \
5147 && rm -rf /var/lib/apt/lists/*
5248
Original file line number Diff line number Diff line change @@ -278,7 +278,9 @@ def main():
278278 args_dict ["name" ] = ESTIMATOR_CONTAINER
279279 args_dict ["network" ] = "host"
280280 args_dict ["extension_blacklist" ] = ({},)
281- args_dict ["volume" ] = [[f"{ args_dict ['dataset' ]} /models:/opt/ros/underlay/install/3d_models" ], ]
281+ args_dict ["volume" ] = [
282+ [f"{ args_dict ['dataset' ]} /models:/opt/ros/underlay/install/3d_models" ],
283+ ]
282284 if not args_dict ["no_gpu" ]:
283285 args_dict ["cuda" ] = True
284286 args_dict ["nvidia" ] = True
You can’t perform that action at this time.
0 commit comments