[GH-ISSUE #249] Error while building #241

Closed
opened 2026-02-27 15:55:47 +03:00 by kerem · 6 comments
Owner

Originally created by @aaa-bbb111222 on GitHub (Aug 6, 2019).
Original GitHub issue: https://github.com/RD17/ambar/issues/249

I'm on Mint 19.1 on qemu.
I downloaded repo, when edited docker-compose.yml file for building as mentioned here: https://github.com/chazu/ambar
but I'm getting this error. So what should I do to fix it?
image

Originally created by @aaa-bbb111222 on GitHub (Aug 6, 2019). Original GitHub issue: https://github.com/RD17/ambar/issues/249 I'm on Mint 19.1 on qemu. I downloaded repo, when edited docker-compose.yml file for building as mentioned here: https://github.com/chazu/ambar but I'm getting this error. So what should I do to fix it? ![image](https://user-images.githubusercontent.com/53825110/62543489-ae2efa00-b866-11e9-9fc0-d48fe42f3655.png)
kerem 2026-02-27 15:55:47 +03:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@aaa-bbb111222 commented on GitHub (Aug 8, 2019):

I tried to comment lines "RUN yarn install" and "RUN yarn run build" in Dockerfile in ServiceApi, WebApi, LocalCrawler,FrontEnd and error has gone (but I don't think that it will work properly). But hew appeared:
image
I commented "COPY dist /usr/share/nginx/html" in Dockerfile in FrontEnd. It make the building complete, but this error has appeared:
image
So what I'm doing wrong? (Yes, I know, commenting lines in Dockerfile isn't a good idea to make docker build program, but at least build was without errors)

<!-- gh-comment-id:519483474 --> @aaa-bbb111222 commented on GitHub (Aug 8, 2019): I tried to comment lines "RUN yarn install" and "RUN yarn run build" in Dockerfile in ServiceApi, WebApi, LocalCrawler,FrontEnd and error has gone (but I don't think that it will work properly). But hew appeared: ![image](https://user-images.githubusercontent.com/53825110/62699124-7ef3c680-b9e7-11e9-8ccc-97442c82e86c.png) I commented "COPY dist /usr/share/nginx/html" in Dockerfile in FrontEnd. It make the building complete, but this error has appeared: ![image](https://user-images.githubusercontent.com/53825110/62700329-528d7980-b9ea-11e9-9509-b35887207921.png) So what I'm doing wrong? (Yes, I know, commenting lines in Dockerfile isn't a good idea to make docker build program, but at least build was without errors)
Author
Owner

@aaa-bbb111222 commented on GitHub (Aug 8, 2019):

After re-running docker-compose I've got this:
image
So commenting lines in Dockerfile is definitely is not a great idea.
May be problem caused by Mint itself? or Qemu?

<!-- gh-comment-id:519513119 --> @aaa-bbb111222 commented on GitHub (Aug 8, 2019): After re-running docker-compose I've got this: ![image](https://user-images.githubusercontent.com/53825110/62706150-9935a080-b9f7-11e9-8c27-fbed636b06ed.png) So commenting lines in Dockerfile is definitely is not a great idea. May be problem caused by Mint itself? or Qemu?
Author
Owner

@Yavari commented on GitHub (Aug 14, 2019):

I had to run sysctl -w vm.max_map_count=262144 mentioned at https://ambar.cloud/docs/installation/ in order to get it to work.

<!-- gh-comment-id:521200119 --> @Yavari commented on GitHub (Aug 14, 2019): I had to run `sysctl -w vm.max_map_count=262144` mentioned at https://ambar.cloud/docs/installation/ in order to get it to work.
Author
Owner

@stale[bot] commented on GitHub (Aug 29, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:526146561 --> @stale[bot] commented on GitHub (Aug 29, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Author
Owner

@aaa-bbb111222 commented on GitHub (Aug 30, 2019):

Error (something like cannot copy dist) may come in Ubuntu Desktop & Server, so I really cannot gues what is the problem.

<!-- gh-comment-id:526562059 --> @aaa-bbb111222 commented on GitHub (Aug 30, 2019): Error (something like cannot copy dist) may come in Ubuntu Desktop & Server, so I really cannot gues what is the problem.
Author
Owner

@stale[bot] commented on GitHub (Sep 14, 2019):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

<!-- gh-comment-id:531474435 --> @stale[bot] commented on GitHub (Sep 14, 2019): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ambar#241
No description provided.