19 lines
481 B
Docker
19 lines
481 B
Docker
ARG ROS_DISTRO=humble
|
|
FROM husarnet/ros:humble-ros-core
|
|
ARG ROS_DISTRO
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
RUN mkdir -p /ros2_ws/src && cd /ros2_ws/src
|
|
WORKDIR /ros2_ws
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
build-essential
|
|
|
|
COPY ./src/AriaCoda /usr/local/Aria
|
|
RUN cd /usr/local/Aria && make -j$(nproc) && export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/Aria
|
|
# clear ubuntu packages
|
|
RUN apt-get clean && \
|
|
apt-get remove -y \
|
|
build-essential && \
|
|
rm -rf /var/lib/apt/lists/* |