App build hangs up in container, with rosetta support #24430
Unanswered
Gogulaanand
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Folks,
I am trying to dockerize my local development setup of an Ember (similar to react) app to ensure a stable local environment setup. But I am running into build performance issues where the app build compilation just stops in the middle and doesn't progress further.
The thing is this happens only from Podman version 5.1. With 5.0, I am not facing this hang-up issue although I am facing a segmentation fault error for which the recommendation here was to upgrade to v5.1 with rosetta support.
podman info:
With v5.0, though there is no hang up, there is a performance drop compared to host.
Build times:
container: 6m30s
host: 2m30s
Available cpu cores: 12 (M3 Mac pro)
Allocated cpu: 12
Allocated ram: 18.5gb
Available ram: 19gb
Build CMD:
podman build --platform linux/amd64 -t image_name:1.0 -f Dockerfile .
Run CMD:
podman run --platform linux/amd64 --privileged -it -v "$PWD":/app -v ~/.ssh:/root/.ssh localhost/image_name:1.0 /bin/bash
Beta Was this translation helpful? Give feedback.
All reactions