Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDocker Container for prometheus isn't up to date and contains security vulnerabilities #1071
Comments
This comment has been minimized.
This comment has been minimized.
|
Paging our local docker expert @discordianfish : I leave it to you to come up with the best course of action here. (Requiring access to the public Debian repo sounds like problematic to me as the default setting.) |
This comment has been minimized.
This comment has been minimized.
|
@beorn7 It's not debian, it's alpine linux. |
This comment has been minimized.
This comment has been minimized.
|
Okay, I've looked at that again: If you were to build prometheus statically you could theoretically ignore most of the stuff in the container (including most of the security vulnerabilities) and never update it. It wouldn't be pretty but it could be good enough as long as we only use the container like a binary executable. |
This comment has been minimized.
This comment has been minimized.
|
@mrosic That's correct, prometheus shouldn't use all those things so I'd consider this issue low priority. Still, we shouldn't ship vulnerable libraries. |
This comment has been minimized.
This comment has been minimized.
|
@discordianfish |
This comment has been minimized.
This comment has been minimized.
|
I've triggered manual build of the base image but normally it's all automatic. |
This comment has been minimized.
This comment has been minimized.
|
Thanks! Closing this for now. I'm really in favor of only including the statically built Prometheus binaries in the future though. |
juliusv
closed this
Sep 14, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mrosic commentedSep 11, 2015
The docker container with prometheus is not up to date, it uses libssl 1.0.2b-r0 which contains several security vulnerabilities.
Please include
RUN apk update
RUN apk upgrade
at the end of your Dockerfile. This slows down the build process but it guarantees that users will always receive a container that is up to date.