Sunbird-RC / community

Repo to enable discussions, issue tracking & documentation for the Sunbird-RC projects
MIT License
12 stars 22 forks source link

[FEAT]: Enhancing Sunbird RC Docker Image Support for Multi-Platform Development #1037

Open holashchand opened 3 weeks ago

holashchand commented 3 weeks ago

Enhancing Sunbird RC Docker Image Support for Multi-Platform Development

Introduction

Hi everyone, I have been observing some issues within the Sunbird RC community that are hindering the overall adoption of the platform. These issues include slow performance, difficulties with image pulls, and compatibility problems. Given that many community members use Mac OS systems for development, it's crucial to support multi-platform Docker images. Below, I've outlined some thoughts and solutions to enhance our Docker image support and improve the developer experience.

Current Status:

Currently, we support Docker images for the linux/amd64 platform for our registry and its services. However, there are significant challenges when using these images on other platforms such as linux/arm64/v8, linux/arm/v7, and linux/arm/v6.

The main issues observed include:

User Impact:

Many developers in the Sunbird RC community use Mac OS systems for development, which often involve different architecture types. This observation underscores the need for broader platform support to facilitate development across various environments.

While most production systems are based on the linux/amd64 architecture, but enabling developers to adopt Sunbird RC on their development platforms is also crucial. The current limitations hinder the ability of community members to try out and adopt the system, making the initial experience challenging and discouraging.

Proposed Solutions:

To address these issues and support multiple platform types, we propose the following approaches for publishing Docker images:

1. Manual Multi-Arch Image Creation:

2. Automated Multi-Platform Builds with GitHub Actions:

3. Dependency Management and Image Optimization:

Next Steps:

By implementing these solutions, we aim to improve the adoption experience for developers using different platforms, thereby fostering a more inclusive and active Sunbird RC community.

@srprasanna , @Sreejit-K , @challabeehyv could you please also share your thoughts on these ideas?

Thanks,

Describe the feature clearly.

Add a new feature that does ....