27 lines
534 B
Docker
27 lines
534 B
Docker
FROM ros:humble
|
|
|
|
RUN mkdir -p /ros2/src
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y \
|
|
python3-bloom \
|
|
python3-rosdep \
|
|
fakeroot \
|
|
debhelper \
|
|
dh-python \
|
|
&& rosdep init; exit 0 \
|
|
&& rosdep update \
|
|
&& rosdep install --from paths /ros2/src -y --ignore-src \
|
|
&& apt-get autoremove -y \
|
|
&& apt-get clean -y \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ENV TERM xterm-256color
|
|
|
|
WORKDIR /ros2/src
|
|
|
|
COPY ./entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
CMD [""]
|
|
|