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

docker-native goal: Support custom startup parameters in AWS bootstrap.sh #245

Open
DerChris173 opened this issue Nov 2, 2021 · 0 comments
Labels
type: improvement A minor improvement to an existing feature
Milestone

Comments

@DerChris173
Copy link

Hi Micronaut team!

First, thank you for writing such a cool piece of software and making producing GraalVM native binaries sweet and easy!

I would like to propose a small feature:
Allow customizing the startup parameters of the AWS native application inside the generated bootstrap.sh.

For my concrete use case, I would like to override the standard netty settings using -Dio.netty.* startup flags. I don't think the default ones are optimal for the AWS lambda use case (maybe checking for best default values could be a separate issue to check?).

E.g. I would like to have the option to have this kind of bootstrap:

./func -Djava.library.path=/function -Dio.netty.noPreferDirect=true -Dio.netty.allocator.numDirectArenas=0 -Dio.netty.noUnsafe=true

If you would accept this request and I can support in this work, I think I could add this feature myself even based on existing arguments for GRAALVM_ARGS

Thank you for your time!

@alvarosanchez alvarosanchez added type: enhancement New feature or request type: improvement A minor improvement to an existing feature and removed type: enhancement New feature or request labels Mar 20, 2022
@alvarosanchez alvarosanchez added this to the 3.2.4 milestone Apr 28, 2022
@alvarosanchez alvarosanchez modified the milestones: 3.2.4, 3.3.0, 3.3.1 May 16, 2022
@alvarosanchez alvarosanchez modified the milestones: 3.3.1, 3.4.0 Jun 7, 2022
@alvarosanchez alvarosanchez modified the milestones: 3.4.0, 3.5.0 Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: improvement A minor improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants