Skip to content

Commit

Permalink
ci: revert to old ci dockerfile
Browse files Browse the repository at this point in the history
This commit reverts to the old ci dockerfile since the new one sometimes
casues a `no space left on device` error.
  • Loading branch information
rickstaa committed Mar 23, 2024
1 parent 749f224 commit e389d89
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
23 changes: 12 additions & 11 deletions .ci/Dockerfile.noetic
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
FROM osrf/ros:noetic-desktop-full

# Install system dependencies.
# Install system dependencies + preknown ROS dependencies.
# NOTE: dependencies are found using the `rosdep install --from-path src --ignore-src -r -y --simulate --reinstall .` command.
RUN apt-get update && apt-get install -y \
libgtest-dev \
ros-noetic-libfranka \
libeigen3-dev \
python3-pip \
python3-numpy \
python3-catkin-pkg \
python3-catkin-tools \
python3-setuptools \
python3-pygit2 \
python3-ruamel.yaml \
python3-tqdm \
&& rm -rf /var/lib/apt/lists/*

# Copy the source code into the container.
WORKDIR /ros_gazebo_gym_ws
COPY . /ros_gazebo_gym_ws/src

# Install ROS dependencies.
RUN apt-get update && \
rosdep update && \
rosdep install --reinstall --from-path src --ignore-src -r -y && \
rm -rf /var/lib/apt/lists/*
3 changes: 3 additions & 0 deletions .github/workflows/ros_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,8 @@ jobs:
image: ros_gazebo_gym:noetic
options: -v ${{github.workspace}}/src:/src/ -v ${{github.workspace}}/devel:/devel/
run: |
rosdep install --from-paths /src --ignore-src --rosdistro noetic -y --simulate # Check if all dependencies were in the Docker File.
apt-get update
rosdep install --from-paths /src --ignore-src --rosdistro noetic -y
catkin config --init --extend /opt/ros/noetic
catkin build --interleave-output --verbose
2 changes: 1 addition & 1 deletion ros-gazebo-gym-examples

0 comments on commit e389d89

Please sign in to comment.