Skip to content

Commit 47684c1

Browse files
committed
changed apt-get to apt
1 parent f644fcf commit 47684c1

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ FROM docker.io/osrf/ros:${ROS_DISTRO}-desktop
44

55
WORKDIR /ws
66

7-
RUN apt-get update \
8-
&& apt-get install -y \
7+
RUN apt update \
8+
&& apt install -y \
99
zsh \
1010
ros-dev-tools \
11+
ros-${ROS_DISTRO}-depthai-ros \
12+
ros-${ROS_DISTRO}-ros2-control \
13+
ros-${ROS_DISTRO}-ros2-controllers \
1114
# Setup workspace
12-
&& git clone -b humble-devel https://github.com/AGH-CEAI/aegis_ros.git src/aegis_ros \
15+
&& git clone -b ${ROS_DISTRO}-devel https://github.com/AGH-CEAI/aegis_ros.git src/aegis_ros \
1316
&& vcs import src < src/aegis_ros/aegis/aegis.repos \
1417
# Install dependencies
1518
&& rosdep update --rosdistro $ROS_DISTRO \
1619
&& rosdep install --from-paths src -y -i \
1720
# Size optimalization
1821
&& export SUDO_FORCE_REMOVE=yes \
19-
&& apt-get autoremove -y \
20-
&& apt-get clean \
22+
&& apt autoremove -y \
23+
&& apt clean \
2124
&& rm -rf /var/lib/apt/lists/*
2225

2326
CMD ["/bin/bash"]

0 commit comments

Comments
 (0)