Skip to content

Commit

Permalink
updating docker and setting up dev requirements compatible with ros2 env
Browse files Browse the repository at this point in the history
  • Loading branch information
eaa3 committed Feb 6, 2025
1 parent d658ef0 commit f580b85
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
22 changes: 2 additions & 20 deletions Dockerfile.dev
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
###########################################
# Base image
###########################################
FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04 AS base
FROM nvidia/cuda:12.4.1-runtime-ubuntu22.04 AS base

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -124,25 +124,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=

###########################################
# Full+Gazebo image
###########################################
FROM full AS gazebo

ENV DEBIAN_FRONTEND=noninteractive
# Install gazebo
RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
&& apt-get update && apt-get install -q -y --no-install-recommends \
ros-humble-gazebo* \
&& rm -rf /var/lib/apt/lists/*
ENV DEBIAN_FRONTEND=

###########################################
# Full+Gazebo+Nvidia image
###########################################

FROM gazebo AS gazebo-nvidia
FROM full AS full-nvidia

################
# Expose the nvidia driver to allow opengl
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy>=1.26.4 # numerical computing library
numpy>=1.25.2,<=1.26.4 # numerical computing library
scipy>=1.11.1 # scientific computation tools
pybullet>=3.2.6 # physics engine used for simulation
pybullet>=3.2.7 # physics engine used for simulation
open3d>=0.10.0 # point cloud processing tools
opencv-python>=4.9.0.80 # computer vision tools
matplotlib>=3.3.4 # plotting tools
Expand Down
2 changes: 1 addition & 1 deletion requirements_dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
numpy>=1.26.4 # numerical computing library
numpy>=1.25.2,<=1.26.4 # numerical computing library
scipy>=1.11.1 # scientific computation tools
pybullet>=3.2.7 # physics engine used for simulation
open3d>=0.10.0 # point cloud processing tools
Expand Down

0 comments on commit f580b85

Please sign in to comment.