Skip to content

Commit 2041301

Browse files
committed
dockerfile change
1 parent 648492e commit 2041301

1 file changed

Lines changed: 9 additions & 5 deletions

File tree

.devcontainer/nouveau/Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,27 @@ RUN sudo rm -f /etc/apt/sources.list.d/ros1-latest.list \
1818
&& sudo rm -f /usr/share/keyrings/ros1-latest-archive-keyring.gpg
1919

2020
RUN sudo apt-get update \
21-
&& sudo apt-get install -y ca-certificates curl
21+
&& sudo apt-get install -y ca-certificates curl libc++-dev \
22+
&& pip install -U importlib_metadata
2223

2324
RUN sudo curl -sSL https://raw.githubusercontent.com/ros/rosdistro/master/ros.key -o /usr/share/keyrings/ros-archive-keyring.gpg
2425

2526
RUN sudo apt-get -q update \
2627
&& sudo apt-get -q -y upgrade \
2728
&& rosdep update --include-eol-distros \
2829
&& rosdep install -y --from-paths . --ignore-src -r --rosdistro ${ROS_DISTRO} \
30+
&& sudo apt-get install -y ros-noetic-ompl ros-noetic-ompl-dbgsym \
2931
&& sudo apt-get autoremove -y \
3032
&& sudo apt-get clean -y \
3133
&& sudo rm -rf /var/lib/apt/lists/*
3234

35+
RUN cd /tmp && wget https://github.com/isl-org/Open3D/releases/download/v0.19.0/open3d-devel-linux-x86_64-cxx11-abi-0.19.0.tar.xz \
36+
&& sudo tar -xf open3d-devel-linux-x86_64-cxx11-abi-0.19.0.tar.xz \
37+
&& sudo cp -r open3d-devel-linux-x86_64-cxx11-abi-0.19.0/include/* /usr/include \
38+
&& sudo cp -r open3d-devel-linux-x86_64-cxx11-abi-0.19.0/lib/* /usr/lib \
39+
&& sudo cp -r open3d-devel-linux-x86_64-cxx11-abi-0.19.0/share/* /usr/share
40+
3341
# Install debugging/linting Python packages
3442
COPY --chown=$USER_UID:$USER_GID requirements-dev.txt .
3543
RUN python3 -m pip install -r requirements-dev.txt \
3644
&& rm -rf requirements-dev.txt
37-
38-
# Disable the setuputils installation warning
39-
# This prevents us from needing to pin the setuputils version (which doesn't always work)
40-
ENV PYTHONWARNINGS="ignore"

0 commit comments

Comments
 (0)