8000 [ENHANCEMENT] Docker images are take too long to build and are quite large. · Issue #1798 · asyncapi/cli · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[ENHANCEMENT] Docker images are take too long to build and are quite large. #1798
Open
@neoandmatrix

Description

@neoandmatrix

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?

  • 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    To Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0