-
Notifications
You must be signed in to change notification settings - Fork 116
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
Jlink to reduce container image size #265
Jlink to reduce container image size #265
Conversation
/assign @pierDipi |
Codecov Report
@@ Coverage Diff @@
## master #265 +/- ##
============================================
+ Coverage 76.30% 76.76% +0.45%
Complexity 170 170
============================================
Files 49 49
Lines 1435 1463 +28
Branches 46 46
============================================
+ Hits 1095 1123 +28
Misses 271 271
Partials 69 69
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
nice one, Slinky! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you open an issue to keep track of the next iteration?
/lgtm
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
/hold I wanna retry again with vert.x dns |
Ok it seems like the vert.x dns works, but it requires the module of the jdk dns, funky |
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
/unhold |
/test pull-knative-sandbox-eventing-kafka-broker-integration-tests |
This PR looks good to me, @pierDipi wanna merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
🎉
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pierDipi, slinkydeveloper The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com> Co-authored-by: Pierangelo Di Pilato <pierdipi@redhat.com>
Fixes #10
Now image size (receiver) is 184Mb, compared to previous 478Mb
This is a first pass on the issue, there are some mods picked by jdeps that we could eventually remove (like java.sql, that we don't use but we bring in b/c of jackson-databind). Also, we're on ubuntu base, we could drill down the image even further porting to alpine (but that requires musl libc and we need to figure out how to make that working with jlink).
Proposed Changes