Skip to content

Commit

Permalink
Ignore package scripts on arm64 for harbor-portal:v2.6.3
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
aznashwan committed Jul 24, 2024
1 parent 751ce5a commit 67e9202
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v2.6.3/harbor-portal/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,11 @@ parts:
cd "$OUTDIR"
mkdir -p "$OUTDIR/dist"
npm install --unsafe-perm
nodecmd="npm install --unsafe-perm"
if [ "$CRAFT_TARGET_ARCH" == "arm64" ]; then
nodecmd="$nodecmd --ignore-scripts"
fi
$nodecmd
npm run generate-build-timestamp
node --max_old_space_size=2048 'node_modules/@angular/cli/bin/ng' build --configuration production
Expand Down

0 comments on commit 67e9202

Please sign in to comment.