Skip to content

Commit

Permalink
moved the ARG to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwardius committed Dec 21, 2023
1 parent be9f56f commit 7fa877b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/base/inject_ros2.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ARG GENERIC_IMAGE
ARG ROS_DISTRO

########################## Install ROS2 Core ##########################
FROM {GENERIC_IMAGE} as core
Expand Down Expand Up @@ -31,7 +32,6 @@ RUN echo "deb [arch=$(dpkg --print-architecture) \
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8

ARG ROS_DISTRO
ENV ROS_DISTRO=${ROS_DISTRO}

# install ros2 core packages
Expand Down

0 comments on commit 7fa877b

Please sign in to comment.