Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance Dockerfile for faster setup #3948

Closed
4 tasks done
akilesh1706 opened this issue Jul 13, 2024 · 1 comment
Closed
4 tasks done

Enhance Dockerfile for faster setup #3948

akilesh1706 opened this issue Jul 13, 2024 · 1 comment

Comments

@akilesh1706
Copy link
Contributor

akilesh1706 commented Jul 13, 2024

Current Behavior

Currently when some contributor tries to setup this project using Docker, it takes some time. It's a bit slow for setting up since it's huge. For this problem, we can implement multi stage docker build so that it sets up faster then before.

Desired Behavior

After implementing multi stage docker build, the contributor will be able to set up this project faster than before. In multi stage docker build, the previous built images are not carried over to the next layer, thereby making the build much faster and lighter.

Implementation

Should convert the current Dockerfile to more advanced Dockerfile using multi stage docker build.

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Thank you for contributing to our project! We appreciate your help in improving it.

📚 See contributing instructions.

🙋🏾🙋🏼 Questions: Community Matrix Server.

@akilesh1706
Copy link
Contributor Author

akilesh1706 commented Jul 13, 2024

@walterbender @pikurasa
I have addressed the issue and given a PR. It has passed the checks. Could you please review it.

@akilesh1706 akilesh1706 changed the title [Usage of multi stage docker build] Enhance Dockerfile for faster setup Jul 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant