Skip to content

Commit f3d43ea

Browse files
committed
Update Dockerfile for jazzy
1 parent 0e72601 commit f3d43ea

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.docker/Dockerfile

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
1-
ARG ROS_DISTRO="humble"
1+
ARG ROS_DISTRO="jazzy"
22
FROM ros:${ROS_DISTRO}
33

4-
COPY . /ros2_dev/ethercat_driver_ros2
4+
#COPY . /ros2_dev/ethercat_driver_ros2
55

6+
# Install dependencies
7+
# --------------------
8+
9+
# Ethercat Master IgH
610
RUN apt update && \
711
apt install autoconf libtool -y
812
RUN mkdir ec_dev && cd ec_dev && \
913
git clone https://gitlab.com/etherlab.org/ethercat.git && \
1014
cd ethercat && \
1115
git checkout stable-1.5 && \
16+
autoupdate && \
1217
./bootstrap && \
1318
./configure --prefix=/usr/local/etherlab --disable-kernel && \
1419
make && make install
20+
# Ros2 control interfaces
21+
RUN apt install -y ros-${ROS_DISTRO}-control-msgs ros-${ROS_DISTRO}-control-toolbox ros-${ROS_DISTRO}-hardware-interface ros-${ROS_DISTRO}-controller-interface
22+
# Ros formating tools
23+
RUN apt install -y ros-${ROS_DISTRO}-ament-clang-format

0 commit comments

Comments
 (0)