-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
25 lines (16 loc) · 852 Bytes
/
Copy pathDockerfile
File metadata and controls
25 lines (16 loc) · 852 Bytes
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
FROM ros:melodic-ros-core
MAINTAINER Yosuke Matsusaka <yosuke.matsusaka@gmail.com>
SHELL ["/bin/bash", "-c"]
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && \
apt-get install -y curl python-pip && \
pip install -U --no-cache-dir supervisor supervisor_twiddler && \
apt-get clean
RUN sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' && \
curl -L http://packages.osrfoundation.org/gazebo.key | apt-key add -
RUN apt-get update && \
apt-get install -y ros-melodic-vrx-gazebo && \
apt-get clean
ADD supervisord.conf /etc/supervisor/supervisord.conf
VOLUME ["/opt/ros/melodic/share/wamv_description", "/opt/ros/melodic/share/wamv_gazebo"]
CMD ["/usr/local/bin/supervisord", "-n", "-c", "/etc/supervisor/supervisord.conf"]