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:
Jordan Rodgers
2021-09-03 16:46:08 -07:00
committed by GitHub
parent e7d28a3bf1
commit 0de6fae1f8
+1 -1
View File
@@ -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