diff --git a/Dockerfile b/Dockerfile index 7fc6ddc..4466279 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,21 +9,8 @@ COPY . /root/ros2_ws/src # install dependencies RUN source /opt/ros/${ROS_DISTRO}/setup.bash -RUN apt-get update \ - && apt-get -y --quiet --no-install-recommends install \ - gcc \ - git \ - python3 \ - python3-pip -RUN rosdep install --from-paths src --ignore-src -r -y -RUN if [ "$ROS_DISTRO" = "jazzy" ] || [ "$ROS_DISTRO" = "rolling" ]; then \ - pip3 install -r src/requirements.txt --break-system-packages; \ - else \ - pip3 install -r src/requirements.txt; \ - fi -RUN if [ "$ROS_DISTRO" = "rolling" ]; then \ - apt install -y ros-rolling-action-tutorials-interfaces; \ - fi +RUN apt-get update +RUN rosdep update && rosdep install --from-paths src --ignore-src -r -y # colcon the ws FROM deps AS builder diff --git a/README.md b/README.md index 7e19909..ddc4027 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,6 @@ $ git clone https://github.com/uleroboticsgroup/yasmin.git # dependencies $ cd ~/ros2_ws $ rosdep install --from-paths src --ignore-src -r -y -$ cd src/yasmin -$ pip3 install -r requirements.txt # colcon $ cd ~/ros2_ws diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 497396f..0000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -flask -waitress -expiringdict - -pytest -pytest-cov -unittest2 \ No newline at end of file