diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 984e604..b6e9647 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,8 @@ jobs: - uses: actions/checkout@v2 - name: build docker container run: docker buildx build -t local . - - name: rosdep init and update - run: docker run local apt update && rosdep init && rosdep update + # - name: rosdep init and update + # run: docker run local apt update && rosdep init && rosdep update - name: rosdep install run: docker run local rosdep install --from-paths src -y --ignore-src --rosdistro humble - name: colcon build diff --git a/Dockerfile b/Dockerfile index 7b2f640..797afc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # This is an auto generated Dockerfile for ros:ros-base # generated from docker_images_ros2/create_ros_image.Dockerfile.em -FROM ros:humble-ros-core-jammy +FROM ros:humble-ros-base-jammy # install bootstrap tools RUN apt-get update && apt-get install --no-install-recommends -y \ @@ -26,8 +26,7 @@ RUN colcon mixin add default \ # install ros2 packages RUN apt-get update && apt-get install -y --no-install-recommends \ - ros-humble-ros-base=0.10.0-1* \ - && rm -rf /var/lib/apt/lists/* + ros-humble-ros-base=0.10.0-1* COPY src /workspace/src