-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
[improve][pip] PIP-324: Alpine image #22054
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #22054 +/- ##
============================================
- Coverage 73.64% 73.60% -0.04%
- Complexity 32077 32568 +491
============================================
Files 1874 1874
Lines 139220 139220
Branches 15260 15260
============================================
- Hits 102523 102477 -46
- Misses 28776 28834 +58
+ Partials 7921 7909 -12
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Great work! Few small comments. I'll review more closely tomorrow
@lhotari PTAL again. I've updated the build to rely on pre-built glibc packages. The packages are going to be included in Docker image for which the Dockerfile is included here and that will be published to the |
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. Awesome job @merlimat
@merlimat the pulsar image based on the alpine image is unable to start normally, this issue blocks 3.3.0 release, can you take a look? It seems that the directory cannot be created using
|
I found that there is no permission to create files or directory under '/pulsar'
|
This is intentional so that the image can be run with restricted permissions (read only rootfs). The writable directories should be created while building the image (for read only rootfs restricted deployments, those would have to be volumes). |
PIP: PIP-324
Modifications
Changed the base Docker image from Ubuntu to Alpine.
Example Docker image:
merlimat/pulsar:3.3.0-SNAPSHOT-f2a91a1
https://hub.docker.com/layers/merlimat/pulsar/3.3.0-SNAPSHOT-f2a91a1/images/sha256-723cda334135f93b366bd51920795b911e5412a55b0f4436fb81762a747dd6ec?context=explore
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
doc
doc-required
doc-not-needed
doc-complete
Matching PR in forked repository
PR in forked repository: merlimat#7