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

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

Open
xlight05 opened this issue Aug 8, 2023 · 7 comments
Open

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

xlight05 opened this issue Aug 8, 2023 · 7 comments

Comments

@xlight05
Copy link
Contributor

xlight05 commented Aug 8, 2023

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
Copy link

Hi!

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

Thanks!

@xlight05
Copy link
Contributor Author

xlight05 commented Oct 9, 2023

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
Copy link

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

@keizer619
Copy link
Member

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

@krushnarout
Copy link

@keizer619 I'm working on this.

@keizer619
Copy link
Member

@krushnarout are you still working on this?

@krushnarout
Copy link

I'm having problem with this issue

@krushnarout krushnarout removed their assignment Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants