generated from athackst/vscode_ros2_workspace
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
44 lines (34 loc) · 986 Bytes
/
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
44
FROM osrf/ros:humble-desktop-full
# Set display
ENV DISPLAY :1
RUN apt-get update \
&& apt-get -y install \
python3-pip \
ros-${ROS_DISTRO}-rclpy \
ros-${ROS_DISTRO}-ur \
build-essential \
python3-colcon-common-extensions
RUN apt-get install -y x11vnc xvfb
# Clean up
RUN apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install rosdep && \
rosdep update
RUN mkdir /root/ws -p
WORKDIR /root/ws
RUN git clone https://github.com/maffettone/erobs.git -b humble
WORKDIR /root/ws/erobs/
RUN /bin/bash -c ". ./setup.sh"
WORKDIR /root/ws/
RUN /bin/bash -c ". ./erobs/build.sh"
ENV ROBOT_IP=192.168.56.101
ENV REVERSE_IP=192.168.56.102
ENV UR_TYPE="ur3e"
ENV LAUNCH_RVIZ="false"
ENV DESCRIPTION_PKG="ur3e_hande_robot_description"
ENV DESCRIPTION_FILE="ur_with_hande.xacro"
ENV CONFIG_PKG="ur3e_hande_moveit_config"
ENV CONFIG_FILE="ur.srdf"
# VNC viewer
EXPOSE 5901