Skip to content

NVSHAS-10270: Update Dockerfile for manager build according Angular 20 upgrading (To fix qemu incompatibility)#76

Open
xingzhang-suse wants to merge 1 commit intoneuvector:mainfrom
xingzhang-suse:main
Open

NVSHAS-10270: Update Dockerfile for manager build according Angular 20 upgrading (To fix qemu incompatibility)#76
xingzhang-suse wants to merge 1 commit intoneuvector:mainfrom
xingzhang-suse:main

Conversation

@xingzhang-suse
Copy link
Contributor

This is the build error before fix


#49 [linux/arm64 builder 15/18] RUN npm install -g @angular/cli@20 &&     npm install -g npm-force-resolutions
#49 20.65 qemu: uncaught target signal 4 (Illegal instruction) - core dumped
#49 22.52 /bin/sh: line 1:     9 Illegal instruction     (core dumped) npm install -g @angular/cli@20
#49 ERROR: process "/bin/sh -c npm install -g @angular/cli@20 &&     npm install -g npm-force-resolutions" did not complete successfully: exit code: 132

#47 [linux/amd64 builder 17/18] RUN bash package/build_manager.sh
#47 CANCELED
------
 > [linux/arm64 builder 15/18] RUN npm install -g @angular/cli@20 &&     npm install -g npm-force-resolutions:
20.65 qemu: uncaught target signal 4 (Illegal instruction) - core dumped
22.52 /bin/sh: line 1:     9 Illegal instruction     (core dumped) npm install -g @angular/cli@20
------
Dockerfile:40
--------------------
  39 |     
  40 | >>> RUN npm install -g @angular/cli@20 && \
  41 | >>>     npm install -g npm-force-resolutions
  42 |     
--------------------
ERROR: failed to build: failed to solve: process "/bin/sh -c npm install -g @angular/cli@20 &&     npm install -g npm-force-resolutions" did not complete successfully: exit code: 132
make: *** [Makefile:97: push-image] Error 1
Error: Process completed with exit code 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants