From 1c5f01a6e807f0e86ff86744667c2b63e93e5ecf Mon Sep 17 00:00:00 2001 From: DK Benjamin Date: Fri, 28 Jun 2024 11:11:36 -0400 Subject: [PATCH] Set path to use root user local dir for python packages installed locally --- scripts/aws/cloudformation/tasking-manager.template.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/aws/cloudformation/tasking-manager.template.js b/scripts/aws/cloudformation/tasking-manager.template.js index 00b6552920..7a6eb5e164 100644 --- a/scripts/aws/cloudformation/tasking-manager.template.js +++ b/scripts/aws/cloudformation/tasking-manager.template.js @@ -423,6 +423,7 @@ const Resources = { 'export DEBIAN_FRONTEND=noninteractive', 'export LC_ALL="en_US.UTF-8"', 'export LC_CTYPE="en_US.UTF-8"', + 'export PATH=$PATH:/root/.local/bin', 'dpkg-reconfigure --frontend=noninteractive locales', 'sudo apt-get -q -y update', 'sudo DEBIAN_FRONTEND=noninteractive apt-get -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" dist-upgrade',