-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
43 lines (40 loc) · 1.35 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
38
39
40
41
42
43
FROM osrf/ros:indigo-desktop-full
MAINTAINER Kunal Tyagi [email protected]
# nvidia-docker hooks
LABEL com.nvidia.volumes.needed="nvidia_driver"
ENV PATH /usr/local/nvidia/bin:${PATH}
ENV LD_LIBRARY_PATH /usr/local/nvidia/lib:/usr/local/nvidia/lib64:${LD_LIBRARY_PATH}
# keep image up to date
ADD startup.sh /usr/bin/docker-startup.sh
#ADD setup.sh /usr/bin/docker-setup.sh
ADD ros.sh /etc/profile.d/ros.sh
# install dependencies for auv-iitb/robosub
ENV DEBIAN_FRONTEND=noninteractive
RUN sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' && \
curl http://packages.osrfoundation.org/gazebo.key -o - | apt-key add - && \
apt-get update && \
apt-get remove -y \
gazebo* && \
apt-get upgrade -y && \
apt-get install -y \
build-essential \
cmake \
python-dev \
openssh-server \
tree \
cutecom \
vim \
python-numpy \
python-scipy \
python-matplotlib \
# python-pyqtgraph \
python-argcomplete \
libcanberra-gtk-module \
libfftw3-dev \
libpugixml-dev \
ros-indigo-uvc-camera \
gazebo7 \
ros-indigo-gazebo7-* \
&& \
cat /etc/profile.d/ros.sh >> /etc/bash.bashrc && \
rm -rf /var/lib/apt/lists/*