-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
36 lines (30 loc) · 1.04 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
FROM sunside/ros-gazebo-gpu:kinetic-nvidia
USER root
# Install required ROS packages, as well as GDB for debugging.
RUN apt-get update && apt-get install -y \
ros-kinetic-gazebo-ros-control \
ros-kinetic-effort-controllers \
ros-kinetic-joint-state-controller \
gdb \
&& rm -rf /var/lib/apt/lists/*
# Install packages for Where Am I? project
RUN apt-get update && apt-get install -y \
ros-kinetic-navigation \
ros-kinetic-map-server \
ros-kinetic-move-base \
ros-kinetic-amcl \
libignition-math2-dev \
protobuf-compiler \
&& rm -rf /var/lib/apt/lists/*
# Allow SSH login into the container.
# See e.g. https://github.com/JetBrains/clion-remote/blob/master/Dockerfile.remote-cpp-env
RUN ( \
echo 'LogLevel DEBUG2'; \
echo 'PermitRootLogin yes'; \
echo 'PasswordAuthentication yes'; \
echo 'Subsystem sftp /usr/lib/openssh/sftp-server'; \
) > /etc/ssh/sshd_config_test_clion \
&& mkdir /run/sshd
# Start SSH server and run bash as the ros user.
USER ros
ENTRYPOINT sudo service ssh restart && bash