-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (16 loc) · 869 Bytes
/
Dockerfile
File metadata and controls
21 lines (16 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Set the base image
FROM ros:indigo-robot
# Dockerfile author / maintainer
MAINTAINER Daiem Ali <daiem.ali@smail.inf.h-brs.de>
# MAS repository
ADD ./ /catkin_ws/src/
RUN apt-get -y update && \
apt-get install -y cmake g++ bash-completion build-essential git \
ros-indigo-hector-map-tools ros-indigo-hector-nav-msgs && ros-indigo-robot-pose-publisher && \
HOME=/catkin_ws && \
rosdep update
WORKDIR /catkin_ws
RUN /bin/bash -c 'source /opt/ros/indigo/setup.bash;catkin_init_workspace src/;cd src/mas_industrial_robotics;./repository.debs;cd /catkin_ws;catkin_make;catkin_make;echo "echo MAS_repository" >> /root/.bashrc;echo "source /opt/ros/indigo/setup.bash" >> /root/.bashrc;echo "source /catkin_ws/devel/setup.bash" >> /root/.bashrc'
ADD wait_for_it.sh /wait-for-it.sh
ADD as_entrypoint.sh /ros_entrypoint.sh
# ENTRYPOINT ["as_entrypoint.sh"]