Skip to content

build all in one docker image failed #580

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
wengad82 opened this issue Dec 14, 2023 · 1 comment
Closed
1 task done

build all in one docker image failed #580

wengad82 opened this issue Dec 14, 2023 · 1 comment
Labels
Deployment & Docker Pull requests that update Docker code wontfix This will not be worked on

Comments

@wengad82
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when i run to build docker images command under centos 7.8

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

but same error as following
image
176.9 ➤ YN0066: │ typescript@patch:typescript@npm%3A4.9.5#~builtin<compat/typescript>::version=4.9.5&hash=701156: Cannot apply hunk #8
206.4 ➤ YN0000: └ Completed in 3m 23s
206.4 ➤ YN0000: Failed with errors in 3m 24s

Dockerfile:129

127 | COPY ./client /lowcoder-client
128 | WORKDIR /lowcoder-client
129 | >>> RUN yarn --immutable
130 |
131 | # curl is required for yarn build to succeed, because it calls it while building client

ERROR: failed to solve: process "/bin/sh -c yarn --immutable" did not complete successfully: exit code: 1
[root@mail lowcoder]#
Network error: Software caused connection abort

Expected Behavior

can build image success

Steps to reproduce

[root@mail data]# docker -v
Docker version 24.0.7, build afdd53b
[root@mail data]# docker-compose -v
Docker Compose version v2.23.3

clone the project
checkout 2.2.0 as head

the project under /home/lowcoder

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

then it failed!

Environment

centos 7.8

Additional Information

No response

@wengad82 wengad82 added Bug Something isn't working Needs triage Needs to be reviewed by core team labels Dec 14, 2023
@FalkWolsky
Copy link
Contributor

Unfortunately, it seems not to belong to Lowcoder itself. Node and CentOs have trouble as by our knowledge.
Did you try to build under another OS?

@FalkWolsky FalkWolsky added wontfix This will not be worked on Deployment & Docker Pull requests that update Docker code and removed Bug Something isn't working Needs triage Needs to be reviewed by core team labels Dec 21, 2023
@FalkWolsky FalkWolsky changed the title [Bug]: <title>build all in one docker image failed build all in one docker image failed Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Deployment & Docker Pull requests that update Docker code wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants