From aef5f1e139c220c5f884378bc785d140451ac58f Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Tue, 12 Apr 2022 14:54:42 +0200 Subject: [PATCH] Add tz to kubespray image --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8f0d2248c..c33b63387 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ # Use imutable image tags rather than mutable tags (like ubuntu:20.04) FROM ubuntu:focal-20220316 +ARG TZ=Etc/UTC +RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone + RUN apt update -y \ && apt install -y \ libssl-dev python3-dev sshpass apt-transport-https jq moreutils \