Created
April 11, 2023 00:42
-
-
Save acmiyaguchi/a0efca3b3265247d45bb4b8408e4b815 to your computer and use it in GitHub Desktop.
skeleton for working with realsense in docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "3.8" | |
services: | |
# base container -- will simply exit once brought up | |
# we can run commands via this container for running experiments, etc. | |
base: | |
network_mode: host | |
command: bash | |
volumes: | |
- ./:/app/ | |
devices: | |
- /dev/ttyUSB0 | |
# the /dev path to the webcam? | |
privileged: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ros:noetic-ros-base-focal | |
RUN apt-get update && \ | |
apt-get install -y \ | |
apt-utils \ | |
build-essential \ | |
git \ | |
python3-pip \ | |
python-is-python3 | |
WORKDIR /app | |
RUN mkdir -p /app/src | |
RUN git clone --recurse-submodules https://github.com/rickstaa/realsense-ros-gazebo.git src | |
RUN rosdep install --from-paths src --ignore-src -r -y | |
# Other commands as necessary |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To run this: