-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Add libipmctl to the docker image. #2674
Conversation
Hi @Creatone. Thanks for your PR. I'm waiting for a google member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
d9f7813
to
5c34448
Compare
5c34448
to
df374c1
Compare
#2676 should be merged with this pull request without these changes it is not possible to run docker container on machine without non-volatile memory |
deploy/Dockerfile
Outdated
|
||
FROM alpine:3.12 | ||
MAINTAINER dengnan@google.com vmarmol@google.com vishnuk@google.com jimmidyson@gmail.com stclair@google.com | ||
|
||
RUN apk --no-cache add libc6-compat device-mapper findutils zfs && \ | ||
RUN apk --no-cache add libc6-compat device-mapper findutils zfs ndctl-dev && \ |
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.
ndctl
should be enough, development files are not needed to run cAdvisor with libipmctl
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.
is this still correct? is ndctl
enough or is ndctl-dev
needed?
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.
Unfortunately not
df374c1
to
b7f328c
Compare
@Creatone can you visit https://git.k8s.io/community/community-membership.md#member? You will not need ok-to-test anymore. |
/ok-to-test |
Thanks, I'll try after my holiday. |
@bobbypage this is another PR that is relatively straightforward and could be merged. |
@bobbypage Can you look at this? Nice to have this in docker :) |
Thanks for adding this. One question I have -- my understanding is that By adding it to the main dockerfile, it means the Docker image will always include |
@bobbypage after #2723 , no :) If the underlying system doesn't support ipmctl, it would print a warning and continue working. |
Thanks for change @Creatone . I tested it out and it seemed to build fine at the end but I got some suspicious errors and warnings, e.g.
See full build log here: https://gist.github.com/bobbypage/dbc5f966e44db6336c7ebf94f9da706a Are those errors / compiler warnings expected? |
This is related to libpfm dependency. I'll investigate this separately. |
Thanks @Creatone, can you rebase and repush to trigger CI again, looks like it's stuck in a weird state. |
Signed-off-by: Paweł Szulik <pawel.szulik@intel.com>
b7f328c
to
5ff76c2
Compare
@bobbypage Done |
LGTM, thanks! |
This PR adds libipmctl to the docker image.