From 7ee8f4ad286028c7abfa9e141c498e57c8db9215 Mon Sep 17 00:00:00 2001 From: Pietro Mazzini Date: Sat, 25 Jul 2020 14:48:17 +0200 Subject: [PATCH] Add tz as argument --- other_installers/docker/Dockerfile | 3 ++- other_installers/docker/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/other_installers/docker/Dockerfile b/other_installers/docker/Dockerfile index b95159c6..782571ab 100644 --- a/other_installers/docker/Dockerfile +++ b/other_installers/docker/Dockerfile @@ -1,5 +1,6 @@ FROM ubuntu:18.04 -ENV TZ=Europe/Rome +ARG tz_buildtime=Europe/Rome +ENV TZ=$tz_buildtime RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone # Make sure that all updates are in place diff --git a/other_installers/docker/README.md b/other_installers/docker/README.md index 6d09123b..6e601b39 100644 --- a/other_installers/docker/README.md +++ b/other_installers/docker/README.md @@ -20,7 +20,7 @@ curl https://get.docker.com | /bin/bash git clone https://github.com/CIRCL/AIL-framework.git cd AIL-framework cp -r ./other_installers/docker/Dockerfile ./other_installers/docker/docker_start.sh ./other_installers/docker/pystemon ./ -docker build -t ail-framework . +docker build --build-arg tz_buildtime=YOUR_GEO_AREA/YOUR_CITY -t ail-framework . ``` 3. To start AIL on port 7000, type the following command below: ```