cli icon indicating copy to clipboard operation
cli copied to clipboard

[ENHANCEMENT] Docker images are take too long to build and are quite large.

Open neoandmatrix opened this issue 7 months ago • 1 comments

Why do we need this improvement?

Docker is a very popular way of using the cli among the users but currently the docker builds are quite large for a cli and too slow if built from source not to mention the produced images are also quite large in size(approximately 7.17GB) making using docker very difficult for the cli. The reported size on the dockerhub of the cli is also quite large approximately 2.05 Gb which also need to be optimized.

How will this change help?

After the resolution of the issue the docker builds should be fast and efficient and the images should be less in size making the use of docker more viable choice for the users.

Screenshots

I tried to build the docker image on latest cli version and the build time was large as well as the produced images were too large as seen form screenshots below.

Image

Image

How could it be implemented/designed?

The dockerfile can be optimized and dockerignore file can also be added to reduce the size and increase efficiency.

🚧 Breaking changes

No

👀 Have you checked for similar open issues?

  • [x] I checked and didn't find a similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue?

Yes I am willing to submit a PR!

neoandmatrix avatar Jun 12 '25 09:06 neoandmatrix

This issue has been automatically marked as stale because it has not had recent activity :sleeping:

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience :heart:

github-actions[bot] avatar Oct 11 '25 00:10 github-actions[bot]

Closing this as duplicate of https://github.com/asyncapi/cli/issues/1752

Shurtu-gal avatar Dec 17 '25 14:12 Shurtu-gal