PhonePe / PhonePe/mantis

Docker image of Mantis on ghcr.io is slow on ARM based machines

Open
#90 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug enhancement
Dominant language
Python
Stars
1k
Forks
136
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When I setup Mantis using Docker on ARM based Ubuntu Machine, all the commands run extremely slowly.

To Reproduce

On an ARM based Linux system, pull and run the Mantis docker

docker pull ghcr.io/phonepe/mantis:latest
docker run --rm mantis:latest 

Run any command inside the running Docker container and notice they are executed extremely slow.

Possible fix

Modify the release for Mantis to push Docker image of Mantis that supports multiple architectures. You can probably use docker buildx for building the docker image.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the release process that produces ghcr.io/phonepe/mantis:latest and reproduce the slowdown on an ARM-based Ubuntu system with the Docker commands in the issue. Investigate Docker multi-architecture builds with docker buildx; done means the published image supports ARM and commands run without the reported slowdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.