Skip to content

Instantly share code, notes, and snippets.

@francorbacho
Created July 12, 2023 11:08
Show Gist options
  • Save francorbacho/c42ad37ef338b499b642ff6600e3da47 to your computer and use it in GitHub Desktop.
Save francorbacho/c42ad37ef338b499b642ff6600e3da47 to your computer and use it in GitHub Desktop.
ROSCube Dockerfile
# NOTE: Use the command below to ensure that communication between computers works:
# $ sudo docker run -Pit --net=host <IMAGE>
FROM dustynv/ros:humble-ros-base
# Install debug tools and extra dependencies
RUN apt-get update && apt-get install -y \
ros-${ROS_DISTRO}-ackermann-msgs \
ffmpeg \
netcat iproute2 iputils-ping \
python3-pip \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install \
opencv-python pyzed
RUN curl --remote-name "https://stereolabs.sfo2.cdn.digitaloceanspaces.com/zedskd/4.0/ZED_SDK_Tegra_L4T35.3_v4.0.5.zstd.run"
RUN echo 'export PYTHONWARNINGS="ignore:setup.py install is deprecated.,ignore:easy_install command is deprecated."' >> ~/.bashrc
# TODO: Change this with actually launching the master node.
CMD ["bash"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment