Skip to content

Commit 12b2835

Browse files
committed
Fix use of EOF in Dockerfile
1 parent 63ff4c7 commit 12b2835

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ros/content.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ ARG OVERLAY_WS
5555
RUN cat <<EOF > /etc/apt/apt.conf.d/docker-clean
5656
APT::Install-Recommends "false";
5757
APT::Install-Suggests "false";
58-
EOF && apt-get update && \
59-
rosdep update --rosdistro $ROS_DISTRO
58+
EOF
59+
RUN apt-get update && \
60+
rosdep update --rosdistro $ROS_DISTRO
6061

6162
# clone overlay source
6263
WORKDIR $OVERLAY_WS/src

0 commit comments

Comments
 (0)