-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (28 loc) · 987 Bytes
/
Dockerfile
File metadata and controls
34 lines (28 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM ros:humble-ros-base
SHELL [ "/bin/bash" , "-c" ]
RUN apt update && apt install -y build-essential
RUN apt update && apt install -y ros-humble-usb-cam
RUN apt update && apt install -y ros-humble-image-proc
RUN apt update && apt install -y ros-humble-apriltag-ros
RUN apt update && apt install -y ros-humble-tf-transformations
RUN apt update && apt install -y ros-humble-tf2
RUN apt update && apt install -y ros-humble-v4l2-camera
RUN apt update && apt install -y python3
RUN apt update && apt install -y python3-pip
RUN pip3 install transforms3d
RUN pip3 install --find-links https://tortall.net/~robotpy/wheels/2023/raspbian/ pyntcore
ENV ROS_DISTRO="humble"
# COPY Contents
WORKDIR /redshift
COPY contents .
#BUILD WORKSPACE
WORKDIR ros2_ws
RUN source ./install/setup.bash \
&& colcon build
#COPY MISC FILES
WORKDIR /root/.ros/camera_info
COPY misc/logitech_cam.yaml .
COPY misc/arducam_cam.yaml .
COPY *.sh /redshift/
WORKDIR /redshift
#CMD ["./redshift_entrypoint.sh"]