From f0340cc7e547775501445b01170af59d010e594d Mon Sep 17 00:00:00 2001 From: Jim Van Fleet <jim.van.fleet@levvel.io> Date: Tue, 30 Aug 2016 10:01:18 -0400 Subject: [PATCH] Setting timezone to UTC --- Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Dockerfile b/Dockerfile index 71bd612..99fed6b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,12 @@ LABEL Version=$version LABEL Build docker build --rm --tag $maintainer/$imagename . +# +# UTC Timezone & Networking +# +RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime \ + && echo "NETWORKING=yes" > /etc/sysconfig/network + # Install base deps RUN yum -y install --setopt=tsflags=nodocs epel-release && \ yum -y install net-tools wget curl tar unzip mlocate logrotate strace telnet man unzip vim wget rsyslog cron && \