override pip sys deps for colcon

This commit is contained in:
stelzo 2024-06-23 19:25:00 +02:00
parent d72a4491d4
commit e9591cb70e
No known key found for this signature in database
GPG Key ID: FC4EF89052319374
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@ RUN apt-get install -y \
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | bash -s -- -y
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
RUN . $HOME/.cargo/env && cargo install --debug cargo-ament-build
RUN python3 -m pip install git+https://github.com/colcon/colcon-cargo.git
RUN python3 -m pip install git+https://github.com/colcon/colcon-ros-cargo.git
RUN pip install --break-system-packages git+https://github.com/colcon/colcon-cargo.git
RUN pip install --break-system-packages git+https://github.com/colcon/colcon-ros-cargo.git
WORKDIR /ros2_rust_build
RUN git clone https://github.com/ros2-rust/ros2_rust.git src/ros2_rust