-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dockerfiles for fetch_gazebo #46
Comments
Closed
FROM osrf/ros:melodic-desktop-full-bionic
RUN DEBIAN_FRONTEND=noninteractive apt-get update \
&& apt-get install -y -q --no-install-recommends \
python-catkin-tools \
python-rosinstall-generator \
&& . /opt/ros/melodic/setup.sh \
&& rosinstall_generator fetchit_challenge --deps --deps-only --exclude RPP > stable.rosinstall \
&& rosinstall_generator fetchit_challenge --upstream > active.rosinstall \
&& mkdir -p $HOME/ros/stable $HOME/ros/active \
&& wstool init $HOME/ros/stable/src stable.rosinstall \
&& wstool init $HOME/ros/active/src active.rosinstall \
&& cd $HOME/ros/stable \
&& catkin config --init \
&& catkin config --install --extend /opt/ros/melodic \
&& catkin build \
&& cd $HOME/ros/active \
&& catkin config --init \
&& catkin config --extend $HOME/ros/stable/install \
&& catkin build \
&& sed -i 's/\/opt\/ros\/\$ROS_DISTRO/\$HOME\/ros\/active\/devel/' /ros_entrypoint.sh
ENTRYPOINT ["/ros_entrypoint.sh"]
CMD ["bash"] |
For those who are participating in FetchIt! you'll notice an error in the version I sent around via e-mail. - && sed -i 's/\/opt\/ros\/\$ROS_DISTRO/\$HOME\/ros\/active\/devel/' ./ros_entrypoint.sh
+ && sed -i 's/\/opt\/ros\/\$ROS_DISTRO/\$HOME\/ros\/active\/devel/' /ros_entrypoint.sh |
#75 and this are essentially duplicates. The Dockerfiles in the comments above no longer work, ros is now in the official docker images: FROM ros:melodic These are still on the todo list. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue is more of a todo, I have a dockerfile which I've been using to test/debug #37 and should clean it up, and put it into this repository somewhere with a ReadMe and some instructions.
It can be passed arguments so that it works for Indigo/Kinetic/Melodic.
But it requires nvidia-docker2
The text was updated successfully, but these errors were encountered: