-
Notifications
You must be signed in to change notification settings - Fork 467
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 build flavors: slim, with-plugins, with-geoip, full #1862
Conversation
COPY --from=build /go/src/crowdsec/plugins/notifications/email/email.yaml /staging/etc/crowdsec/notifications/email.yaml | ||
COPY --from=build /go/src/crowdsec/plugins/notifications/http/http.yaml /staging/etc/crowdsec/notifications/http.yaml | ||
COPY --from=build /go/src/crowdsec/plugins/notifications/slack/slack.yaml /staging/etc/crowdsec/notifications/slack.yaml | ||
COPY --from=build /go/src/crowdsec/plugins/notifications/splunk/splunk.yaml /staging/etc/crowdsec/notifications/splunk.yaml | ||
COPY --from=build /usr/local/lib/crowdsec/plugins /usr/local/lib/crowdsec/plugins | ||
|
||
FROM build-slim as build-geoip | ||
|
||
COPY --from=build /var/lib/crowdsec /staging/var/lib/crowdsec |
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.
This seems not to be included in the build-full if I'm not mistaken.
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.
Yes, the idea is to have four flavors (no need to push them all):
-slim: 86 MB
-plugins: 129MB
-geoip: 163 MB
-full: 205 MB
Codecov Report
@@ Coverage Diff @@
## master #1862 +/- ##
==========================================
- Coverage 53.43% 53.13% -0.31%
==========================================
Files 148 85 -63
Lines 19980 10977 -9003
==========================================
- Hits 10677 5833 -4844
+ Misses 8121 4513 -3608
+ Partials 1182 631 -551
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn 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.
👍
No description provided.