feat(slam): add rtabmap_ros
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
|
||||
FROM introlab3it/rtabmap:jammy
|
||||
|
||||
ARG USERNAME=vscode
|
||||
ARG USER_UID=1000
|
||||
ARG USER_GID=1000
|
||||
|
||||
RUN set -ex && \
|
||||
groupadd --gid ${USER_GID} ${USERNAME} && \
|
||||
useradd --uid ${USER_UID} --gid ${USER_GID} -m ${USERNAME} && \
|
||||
usermod -a -G sudo ${USERNAME}
|
||||
|
||||
RUN mkdir -p /home/${USERNAME}/ros2_ws/src && \
|
||||
chown -R ${USERNAME}:${USERNAME} /home/${USERNAME}/ros2_ws
|
||||
|
||||
RUN echo "source /opt/ros/humble/setup.bash" >> /home/${USERNAME}/.bashrc
|
||||
RUN echo "source /usr/share/bash-completion/completions/git" >> /home/${USERNAME}/.bashrc
|
||||
Reference in New Issue
Block a user