-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fluentd 1.16 base image #81
Fluentd 1.16 base image #81
Conversation
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
v1.16/Dockerfile
Outdated
RUN apk update \ | ||
&& apk add --no-cache --virtual .build-deps \ | ||
build-base \ | ||
ruby-dev gnupg \ | ||
&& apk add $BUILD_DEPS \ |
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.
isn't this already installed in the base?
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.
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.
I was a bit hasty, sorry!
The are installed and then removed at every stage, so each image/stage is as small as possible, that's why it seemed like a duplicate, but it's not.
I am open to just installing it during the first stage and only removing it at the last stage, if you think it's not worth it.
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.
depends on how big the result will be, but would make the dockerfile much simpler
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.
The difference on the base target is 3 MBs:
$ docker images | grep clean
fluentd-base-without-cleaned-up latest fa9756961272 4 seconds ago 189MB
fluentd-base-cleaned-up latest ca135c728c7a About a minute ago 192MB
I think it makes sense to keep it in this case.
Signed-off-by: Szilard Parrag <[email protected]>
Signed-off-by: Szilard Parrag <[email protected]>
Superseded by #82 |
This PR introduces a three stages docker build:
base
=> only the label router is addedminimal
=> some plugins are addedfull
=> all plugins are addedI am more than happy to change which plugin goes where, just let me know.
Proof for the base image successfully running the E2E tests: OverOrion/logging-operator#3