This repository has been archived by the owner on Oct 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change to build everytime the image in order to push it Signed-off-by: LanderU <lander.usategui@gmail.com>
- Loading branch information
Showing
1 changed file
with
6 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,8 @@ | ||
FROM ros:dashing | ||
FROM acutronicrobotics/mara:dashing-ci | ||
|
||
COPY ./travis.sh /travis.sh | ||
COPY ./ /tmp/mara/ | ||
|
||
RUN /travis.sh | ||
|
||
LABEL maintainer="Lander Usategui <lander at erlerobotics dot com>" | ||
ENV ROS1_DISTRO melodic | ||
ARG BRANCH="" | ||
#Prepare work-space | ||
RUN mkdir -p /root/ros2_mara_ws/src | ||
WORKDIR /root/ros2_mara_ws | ||
RUN \ | ||
echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list \ | ||
&& apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 \ | ||
&& apt update && apt install -y \ | ||
wget \ | ||
ros-$ROS1_DISTRO-desktop \ | ||
ros-$ROS1_DISTRO-moveit \ | ||
ros-$ROS1_DISTRO-moveit-ros-move-group \ | ||
ros-$ROS1_DISTRO-moveit-visual-tools \ | ||
&& wget https://raw.githubusercontent.com/acutronicrobotics/MARA/${BRANCH}/mara-ros2.repos \ | ||
&& vcs import src < mara-ros2.repos \ | ||
&& rosdep update -q \ | ||
&& rosdep install -q -y --from-paths . --ignore-src --rosdistro \ | ||
${ROS_DISTRO} --skip-keys \ | ||
"hrim_actuator_rotaryservo_actions \ | ||
hrim_actuator_gripper_srvs \ | ||
hrim_actuator_rotaryservo_msgs hrim_generic_srvs \ | ||
hrim_generic_msgs hrim_actuator_gripper_msgs \ | ||
hrim_actuator_rotaryservo_srvs" \ | ||
--as-root=apt:false || true \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
RUN rm -rf /root/ros2_mara_ws/src/* | ||
ENV TERM xterm | ||
CMD ["bash"] |