Closed lucasw closed 3 years ago
Resolved by #10
docker run --rm -it ros:noetic-robot bash -c "\
echo $CMAKE_PREFIX_PATH && \
apt update && \
apt install -y curl git python3-catkin-tools python3-osrf-pycommon && \
catkin --version && \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
source /root/.cargo/env && \
source /opt/ros/noetic/setup.bash && \
git clone https://github.com/AndrewGaspar/corrosion.git &&\
cmake -Scorrosion -Bbuild_corrosion -DCMAKE_BUILD_TYPE=Release && \
cmake --build build_corrosion --config Release && \
mkdir -p $HOME/other/install && \
cmake --install build_corrosion --config Release --prefix $HOME/other/install && \
git clone https://github.com/lucasw/rust_test.git && \
export CMAKE_PREFIX_PATH=$HOME/other/install:$CMAKE_PREFIX_PATH && \
mkdir -p catkin_ws/src && \
cd catkin_ws/src && \
ln -s ../../rust_test/ros/rsc_test && \
cd .. && \
catkin build
"
This fails docker run --rm -it ros:noetic-robot bash -c "catkin --version"
Have to run updates
docker run --rm -it ros:noetic-robot bash -c "sudo apt update && sudo apt install -y python3-catkin-tools python3-osrf-pycommon && catkin --version"
And the install osrf pycommon and other packages.
How to trigger update of noetic-robot? Open an issue on https://github.com/osrf/docker_images ? Maybe the devel case is already covered by https://github.com/osrf/docker_images/issues/408
How to make sure using latest locally?
docker pull ros:noetic-robot
noetic-robot: Pulling from library/ros
Digest: sha256:662fa31293b0df72b29dbbc174e227db06be678d9ad06499a81f736ebac88cb5
Status: Image is up to date for ros:noetic-robot
docker.io/library/ros:noetic-robot
Mostly interested in building the ros package. Install rust and minimal ros packages and then build rsc_test.
Build just in 20.04 noetic.
Also a github action for rosrust itself? https://github.com/adnanademovic/rosrust/commit/7cf2d89bd0e3492e8c45ccb697fd3259b9520310 tried that but actions weren't free back then?
Have it working in https://github.com/lucasw/rosrust/tree/github_action