ballerina-platform / ballerina-library

The Ballerina Library
https://ballerina.io/learn/api-docs/ballerina/
Apache License 2.0
136 stars 64 forks source link

Change base image to musl if --libc=musl has given #7122

Open xlight05 opened 1 year ago

xlight05 commented 1 year ago

Description: $Subject

--libc flag can be given as additional properties in Ballerina.toml build options. If the user has set the value to musl, we can automatically change the base image to musl based container from graalvm.

Describe your problem(s)

Describe your solution(s)

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

krushnarout commented 1 year ago

Hi!

I can work on this! If no one else has been assigned to this issue, please assign me.

Thanks!

xlight05 commented 1 year ago

Hi @krushnarout 🚀

We value your contributions and look forward to collaborating with you. To help you get started, here are some essential resources:

  1. Understanding Ballerina Platform: Learn what Ballerina is all about: Ballerina Platform
  2. How to Contribute: Read our contributing guidelines to understand how you can contribute effectively: Contribution Guide
  3. Learn Ballerina: If you're new to Ballerina or want to enhance your skills, our official website offers a wealth of learning resources: Learn Ballerina
  4. Get Help and Connect: Join our Discord community to chat with fellow Ballerina enthusiasts and get assistance: Ballerina Discord

Remember, no contribution is too small, and your feedback is invaluable. Feel free to ask questions, propose ideas, or report issues. Together, we can make Ballerina even better!

Regarding this specific issue, I'd recommend you to build a sample http service with --graalvm flag. Then you can explore how to pass additional flags to graalvm [1]. Once you understand the flow, you can go ahead and explore the compiler plugin to implement this task =). Don't hesitate to reach me if you run into any issues.

Happy coding! 🎉

[1] - https://github.com/ballerina-platform/module-ballerina-c2c/tree/master/examples/graalvm-build-args

STUDIOUS-WOLF commented 1 year ago

@xlight05 @krushnarout can you assign me this project if no one is working on it?

keizer619 commented 1 year ago

@krushnarout are you working on this issue? If not we can assign this to @STUDIOUS-WOLF

krushnarout commented 1 year ago

@keizer619 I'm working on this.

keizer619 commented 1 year ago

@krushnarout are you still working on this?

krushnarout commented 1 year ago

I'm having problem with this issue

developer-diganta commented 1 month ago

Hi! Would love to try to solve this issue.

keizer619 commented 1 week ago

@developer-diganta Are you still working on this? If not we can open this for others