Skip to content

Commit

Permalink
another try at action
Browse files Browse the repository at this point in the history
  • Loading branch information
nchan18 committed Mar 1, 2024
1 parent 98afd96 commit 965c66c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand All @@ -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

Expand Down

0 comments on commit 965c66c

Please sign in to comment.