From b7bb39772e9fa552795636c4325119bf83c0833e Mon Sep 17 00:00:00 2001
From: Andres Montano <andres.montano@tecnalia.com>
Date: Fri, 17 Nov 2023 09:55:39 +0100
Subject: [PATCH] FIx pip install not running without xargs input

---
 dockerfiles/devenv.Dockerfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dockerfiles/devenv.Dockerfile b/dockerfiles/devenv.Dockerfile
index e48dd3c..3c6068e 100644
--- a/dockerfiles/devenv.Dockerfile
+++ b/dockerfiles/devenv.Dockerfile
@@ -105,7 +105,7 @@ RUN if [ -f "${ROS_DISTRO}_requirements.txt" ]; \
 # Install pip packages
 RUN if [ -f "${ROS_DISTRO}_requirements.txt" ]; \
     then \
-        awk '/^# PIP PACKAGES/,0' ${ROS_DISTRO}_requirements.txt | grep -v '^#' | xargs -n1 pip install ;\
+        awk '/^# PIP PACKAGES/,0' ${ROS_DISTRO}_requirements.txt | grep -v '^#' | xargs -r -n1 pip install ;\
     fi
 
 RUN rm -rf *
@@ -130,7 +130,7 @@ RUN rm -rf *
 RUN apt-get --reinstall install -y libnotify-bin notify-osd
 
 # Update this date to re-run the image final update
-LABEL image.date=31-10-2023
+LABEL image.date=17-11-2023
 
 # Update final image
 RUN apt-get update \
-- 
GitLab