services-ros1-xbee_mav/Dockerfile
Youssof 2edf1eeda8
Some checks failed
Create and publish a Docker image / build-and-push-image (push) Has been cancelled
Change to more minimal ros base image
2024-06-24 12:57:09 -03:00

24 lines
653 B
Docker

FROM ros:kinetic-ros-core
RUN apt-get update && apt-get install -y \
git \
vim \
build-essential \
ros-kinetic-mavros \
ros-kinetic-mavros-extras \
ros-kinetic-mavros-msgs \
ros-kinetic-catkin
WORKDIR /root/catkin_ws/
COPY xbeemav/ ./src/xbeemav
RUN /bin/bash -c "source /opt/ros/kinetic/setup.bash && catkin_make -DSIM=0 -DKIN=1"
RUN /bin/bash -c "source /opt/ros/kinetic/setup.bash && catkin_make install"
ENV ROS_DISTRO kinetic
ENV CATKIN_SETUP_FILE devel/setup.bash
RUN apt-get clean
COPY ./ros_entrypoint.sh /ros_entrypoint.sh
HEALTHCHECK --interval=5s --timeout=5s --retries=3 CMD /ros_entrypoint.sh rostopic list