mirror of
https://github.com/kubernetes/node-problem-detector.git
synced 2026-08-19 04:06:24 +00:00
Install curl and systemd in docker image
A few issues have popped up where the provided image doesn't have the required packages for certain health checking operations (like https://github.com/kubernetes/node-problem-detector/issues/584#issuecomment-885832078). This installs curl and systemd in the container to help alleviate these issues.
This commit is contained in:
+1
-1
@@ -17,7 +17,7 @@ FROM ${BASEIMAGE}
|
||||
|
||||
MAINTAINER Random Liu <lantaol@google.com>
|
||||
|
||||
RUN clean-install util-linux libsystemd0 bash
|
||||
RUN clean-install util-linux libsystemd0 bash curl systemd
|
||||
|
||||
# Avoid symlink of /etc/localtime.
|
||||
RUN test -h /etc/localtime && rm -f /etc/localtime && cp /usr/share/zoneinfo/UTC /etc/localtime || true
|
||||
|
||||
Reference in New Issue
Block a user