rosaria/Legacy/Dockerfile

22 lines
1.1 KiB
Docker
Raw Normal View History

2021-12-16 15:07:59 +01:00
FROM irth7/ros:hydro as build
2021-12-22 17:20:23 +01:00
RUN sed -i 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list && cat /etc/apt/sources.list
RUN apt-get update && apt-get install -y apt ros-hydro-tf ros-hydro-dynamic-reconfigure ros-hydro-nav-msgs ros-hydro-hokuyo-node \
libopencv-dev python-opencv ros-hydro-camera-info-manager ros-hydro-image-transport ros-hydro-cv-bridge \
libogg-dev libtheora-dev v4l-utils python-catkin-tools vim ffmpeg build-essential libavcodec-dev libswscale-dev \
ros-hydro-robot-state-publisher ros-hydro-joint-state-publisher
2021-12-16 15:07:59 +01:00
ADD Aria /usr/local/Aria
2023-02-27 14:55:20 +01:00
RUN mkdir -p /root/.ros/camera_info/
COPY head_camera.yaml /root/.ros/camera_info/head_camera.yaml
2023-02-27 14:55:20 +01:00
RUN apt-get update && apt-get install -y ros-hydro-usb-cam
COPY ws_linux/ /ws_linux
WORKDIR /ws_linux
SHELL ["/bin/bash", "-c"]
RUN source /opt/ros/hydro/setup.bash && catkin_make
2021-12-16 15:07:59 +01:00
ENV ROS_MASTER_URI=http://10.104.16.29:11311
ENV ARIA_PORT=/dev/ttyS0
ENV PIONIER_ID=5
2023-02-27 14:55:20 +01:00
COPY entrypoint.sh /entrypoint.sh
2021-12-16 15:07:59 +01:00
ENTRYPOINT ["/entrypoint.sh"]