-
Notifications
You must be signed in to change notification settings - Fork 243
/
Dockerfile
37 lines (31 loc) · 1.02 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# davetcoleman/rviz_visual_tools:kinetic
# Test setup for rviz_visual_tools
FROM osrf/ros:kinetic-desktop
MAINTAINER Dave Coleman [email protected]
ENV CATKIN_WS=/root/ws_catkin
RUN mkdir -p $CATKIN_WS/src
WORKDIR $CATKIN_WS/src
# download rviz_visual_tools source
RUN git clone https://github.com/davetcoleman/rviz_visual_tools.git -b ${ROS_DISTRO}-devel
# update apt-get because osrf image clears this cache and download deps
RUN apt-get -qq update && \
apt-get -qq install -y \
python-catkin-tools \
less \
ssh \
emacs \
git-core \
bash-completion \
wget && \
rosdep update && \
rosdep install -y --from-paths . --ignore-src --rosdistro ${ROS_DISTRO} --as-root=apt:false && \
rm -rf /var/lib/apt/lists/*
# HACK, replacing shell with bash for later docker build commands
RUN mv /bin/sh /bin/sh-old && \
ln -s /bin/bash /bin/sh
# build repo
WORKDIR $CATKIN_WS
ENV TERM xterm
ENV PYTHONIOENCODING UTF-8
RUN source /ros_entrypoint.sh && \
catkin build --no-status