aws / aws/aws-codebuild-docker-images

Add GraalVM and Native Image Builder to CodeBuild Image for Java

Open
#508 2 comments 18 reactions 0 assignees View on GitHub
feature request
Dominant language
Dockerfile
Stars
1.2k
Forks
971
Avg merge
2h 47m
Merged PRs (30d)
1

Description

Building Java Lambdas with GraalVM is a recommended best practice to reduce cold start times, but CodeBuild does not currently include the tools (GraalVM, Native Image Builder) that are required for a customer to use CodeBuild to build native images. Having each customer build their own CodeBuild image to include these tools seems wasteful, and including them in the AWS-supported Java CodeBuild image would not negatively impact customers who aren't using it. Including the tools in the Java CodeBuild image would go a long way to helping customers adopt using GraalVM for their Java Lambdas.

For reference, here are some AWS blog posts talking about using GraalVM for this purpose:

https://aws.amazon.com/blogs/developer/graalvm-native-image-support-in-the-aws-sdk-for-java-2-x/

And an example implementation by an AWS employee is available at:

https://github.com/marksailes/al2-graalvm

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.