From 7fa877b70bd19188fe12d88abc99de800aedb187 Mon Sep 17 00:00:00 2001 From: Eddy Zhou Date: Thu, 21 Dec 2023 16:06:39 +0900 Subject: [PATCH] moved the ARG to the top --- docker/base/inject_ros2.Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base/inject_ros2.Dockerfile b/docker/base/inject_ros2.Dockerfile index 5ed82fd5..46a6cab7 100644 --- a/docker/base/inject_ros2.Dockerfile +++ b/docker/base/inject_ros2.Dockerfile @@ -1,4 +1,5 @@ ARG GENERIC_IMAGE +ARG ROS_DISTRO ########################## Install ROS2 Core ########################## FROM {GENERIC_IMAGE} as core @@ -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