Skip to content

Commit

Permalink
fix(rtabmap_ws): Fix docker error
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Aug 22, 2024
1 parent 0e34edd commit 487f96a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions rtabmap_ws/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
apt-get update && apt-get upgrade -y \
&& rm -rf /var/lib/apt/lists/*

# RTAB-Map docker image does not define ROS_DISTRO, so we need to define it here
ENV ROS_DISTRO humble

# Install sudo and create a user with sudo privileges
# Ref: https://stackoverflow.com/a/65434659
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
Expand Down
2 changes: 1 addition & 1 deletion tests/diff_base/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN rm -f /etc/apt/apt.conf.d/docker-clean; echo 'Binary::apt::APT::Keep-Downloa
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
apt-get update && apt-get upgrade -y \
&& rm -rf /var/lib/apt/lists/*

{PLACEHOLDER_MULTILINE}
# Install sudo and create a user with sudo privileges
# Ref: https://stackoverflow.com/a/65434659
RUN --mount=type=cache,target=/var/cache/apt,sharing=private \
Expand Down

0 comments on commit 487f96a

Please sign in to comment.