From c13eddc06a36fbd73d459856e962456e4fc71ca8 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Mon, 3 Mar 2025 17:04:15 -0500 Subject: [PATCH] add the agent UI to local cross-compile script --- docker/images/cross-build/linux-build.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker/images/cross-build/linux-build.sh b/docker/images/cross-build/linux-build.sh index 04654f4a..269ee4a3 100755 --- a/docker/images/cross-build/linux-build.sh +++ b/docker/images/cross-build/linux-build.sh @@ -29,11 +29,15 @@ fi ( HOME=/tmp/builder # Navigate to the "ui" directory and run npm commands - npm config set cache /mnt/.npm - cd ./ui/ mkdir -p $HOME - npm install - npm run build + npm config set cache /mnt/.npm + for UI in ./ui ./agent/agentUi + do + pushd ${UI} + npm install + npm run build + popd + done ) for ARCH in "${JOBS[@]}"; do