From b9623915262e0bc69ef3e6a580dc304c8082bab4 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 67b5ff58b3..3385874992 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',