From 0de6fae1f821f9641c0943d5bb2112f5927251b7 Mon Sep 17 00:00:00 2001 From: Jordan Rodgers Date: Fri, 3 Sep 2021 16:46:08 -0700 Subject: [PATCH] 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. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7ec0591d..c72846d3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ FROM ${BASEIMAGE} MAINTAINER Random Liu -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