diff --git a/Dockerfile b/Dockerfile index 2923cd60cc53b..b3e12200d0965 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,11 @@ ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get -y install --no-install-recommends apt-utils dialog 2>&1 \ # + # Install tzdata and configure timezone (fix for tests which try to read from "/etc/localtime") + && apt-get -y install tzdata \ + && ln -fs /usr/share/zoneinfo/Etc/UTC /etc/localtime \ + && dpkg-reconfigure -f noninteractive tzdata \ + # # Verify git, process tools, lsb-release (common in install instructions for CLIs) installed && apt-get -y install git iproute2 procps iproute2 lsb-release \ #