add the agent UI to local cross-compile script

This commit is contained in:
Kenneth Bingham 2025-03-03 17:04:15 -05:00
parent ae951510b1
commit c13eddc06a
No known key found for this signature in database
GPG Key ID: 31709281860130B6

View File

@ -29,11 +29,15 @@ fi
( (
HOME=/tmp/builder HOME=/tmp/builder
# Navigate to the "ui" directory and run npm commands # Navigate to the "ui" directory and run npm commands
npm config set cache /mnt/.npm
cd ./ui/
mkdir -p $HOME mkdir -p $HOME
npm install npm config set cache /mnt/.npm
npm run build for UI in ./ui ./agent/agentUi
do
pushd ${UI}
npm install
npm run build
popd
done
) )
for ARCH in "${JOBS[@]}"; do for ARCH in "${JOBS[@]}"; do