This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Improved docker script + added more images
- Loading branch information
Showing
4 changed files
with
113 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ros:kinetic-ros-base-xenial | ||
|
||
ENV UTCOUPE_WORKSPACE /utcoupe/coupe19 | ||
RUN mkdir -p $UTCOUPE_WORKSPACE/ros_ws/src | ||
ENV ROS_LANG_DISABLE=genlisp:geneus | ||
|
||
RUN apt-get update | ||
RUN apt-get install wget libsfml-dev libarmadillo-dev sudo -qq -y | ||
RUN apt-get install ros-kinetic-tf2 ros-kinetic-tf2-ros ros-kinetic-rviz ros-kinetic-diagnostic-updater ros-kinetic-roslint ros-kinetic-camera-info-manager ros-kinetic-rosserial-arduino ros-kinetic-rosbridge-suite ros-kinetic-tf2-web-republisher ros-kinetic-serial ros-kinetic-dynamixel-sdk ros-kinetic-rosserial-python ros-kinetic-tf2-geometry-msgs ros-kinetic-urg-c ros-kinetic-urg-node -y -qq | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /temp/utcoupe_install | ||
WORKDIR /temp/utcoupe_install | ||
RUN wget https://github.com/utcoupe/coupe18/raw/master/scripts/install_external_nodes.sh && chmod +x install_external_nodes.sh | ||
RUN bash -c "source /opt/ros/kinetic/setup.sh && ./install_external_nodes.sh" | ||
RUN rm -rf /tmp/utcoupe* | ||
|
||
WORKDIR $UTCOUPE_WORKSPACE/ros_ws | ||
# Tests if the setup works | ||
RUN bash -c "source /opt/ros/kinetic/setup.sh && catkin_make" | ||
RUN rm -rf build devel | ||
|
||
|
||
WORKDIR $UTCOUPE_WORKSPACE/ros_ws | ||
CMD echo "Using $UTCOUPE_WORKSPACE as ROS workspace." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM ros:melodic-ros-base-bionic | ||
|
||
ENV UTCOUPE_WORKSPACE /utcoupe/coupe19 | ||
RUN mkdir -p $UTCOUPE_WORKSPACE/ros_ws/src | ||
ENV ROS_LANG_DISABLE=genlisp:geneus | ||
|
||
RUN apt-get update | ||
RUN apt-get install wget libsfml-dev libarmadillo-dev sudo -qq -y | ||
RUN apt-get install ros-melodic-tf2 ros-melodic-tf2-ros ros-melodic-rviz ros-melodic-diagnostic-updater ros-melodic-roslint ros-melodic-camera-info-manager ros-melodic-rosserial-arduino ros-melodic-rosbridge-suite ros-melodic-tf2-web-republisher ros-melodic-serial ros-melodic-dynamixel-sdk ros-melodic-rosserial-python ros-melodic-tf2-geometry-msgs ros-melodic-urg-c ros-melodic-urg-node -y -qq | ||
RUN rm -rf /var/lib/apt/lists/* | ||
|
||
RUN mkdir -p /temp/utcoupe_install | ||
WORKDIR /temp/utcoupe_install | ||
RUN wget https://github.com/utcoupe/coupe19/raw/master/scripts/install_external_nodes.sh && chmod +x install_external_nodes.sh | ||
RUN bash -c "source /opt/ros/melodic/setup.sh && ./install_external_nodes.sh" | ||
RUN rm -rf /tmp/utcoupe* | ||
|
||
WORKDIR $UTCOUPE_WORKSPACE/ros_ws | ||
# Tests if the setup works | ||
RUN bash -c "source /opt/ros/melodic/setup.sh && catkin_make" | ||
RUN rm -rf build devel | ||
|
||
|
||
WORKDIR $UTCOUPE_WORKSPACE/ros_ws | ||
CMD echo "Using $UTCOUPE_WORKSPACE as ROS workspace." | ||
|