Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Can't build images on ARM #298

Closed
Assignees
Labels
BugSomething isn't working Needs triageNeeds to be reviewed by core team
@louga31

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

The node-service image and the all-in-one image are not building on ARM64
It fails during the step: [build-node-service 6/10] RUN yarn --immutable

Here is the last lines of the buils bzdoez the error happens

#0 15.07 ➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
#0 15.10 ➤ YN0013: │ yargs-parser@npm:21.1.1 can't be found in the cache and will be fetched from the remote registry
#0 15.10 ➤ YN0013: │ yargs@npm:16.2.0 can't be found in the cache and will be fetched from the remote registry
#0 15.10 ➤ YN0013: │ yargs@npm:17.7.2 can't be found in the cache and will be fetched from the remote registry
#0 15.10 ➤ YN0013: │ yn@npm:3.1.1 can't be found in the cache and will be fetched from the remote registry
#0 15.10 ➤ YN0013: │ yocto-queue@npm:0.1.0 can't be found in the cache and will be fetched from the remote registry
#0 48.12 ➤ YN0000: └ Completed in 46s 677ms
#0 48.24 ➤ YN0000: ┌ Link step
#0 57.75 ➤ YN0007: │ protobufjs@npm:7.2.3 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ core-js-pure@npm:3.30.2 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ bufferutil@npm:4.0.7 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ es5-ext@npm:0.10.62 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ utf-8-validate@npm:5.0.10 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ tree-sitter-json@npm:0.20.0 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ tree-sitter@npm:0.20.1 must be built because it never has been before or the last one failed
#0 57.75 ➤ YN0007: │ tree-sitter-yaml@npm:0.5.0 must be built because it never has been before or the last one failed
#0 62.34 ➤ YN0009: │ bufferutil@npm:4.0.7 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-e913bff3/build.log)
#0 62.70 ➤ YN0009: │ tree-sitter-yaml@npm:0.5.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-8757101f/build.log)
#0 62.93 ➤ YN0009: │ tree-sitter-json@npm:0.20.0 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-bda4413e/build.log)
#0 63.24 ➤ YN0009: │ utf-8-validate@npm:5.0.10 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-423b0b95/build.log)
#0 63.57 ➤ YN0009: │ tree-sitter@npm:0.20.1 couldn't be built successfully (exit code 1, logs can be found here: /tmp/xfs-d2bac45b/build.log)
#0 63.57 ➤ YN0000: └ Completed in 15s 335ms
#0 63.68 ➤ YN0000: Failed with errors in 1m 3s
------
Dockerfile:79
--------------------
 77 | COPY server/node-service/ /lowcoder/node-service/app/
 78 | WORKDIR /lowcoder/node-service/app/
 79 | >>> RUN yarn --immutable
 80 | RUN yarn build
 81 |
--------------------
ERROR: failed to solve: process "/bin/sh -c yarn --immutable" did not complete successfully: exit code: 1

Expected Behavior

It should build on ARM64

Steps to reproduce

DOCKER_BUILDKIT=1 docker build -f deploy/docker/Dockerfile -t lowcoderorg/lowcoder-ce-node-service --target lowcoder-ce-node-service .

or

DOCKER_BUILDKIT=1 docker build -f deploy/docker/Dockerfile -t lowcoderorg/lowcoder-ce .

On an ARM64 machine

Environment

OS: Ubuntu 22.04.2 LTS aarch64
Host: KVM Virtual Machine virt-4.2
Shell: zsh 5.8.1

Additional Information

No response

Metadata

Metadata

Labels

BugSomething isn't working Needs triageNeeds to be reviewed by core team

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /