mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-22 22:27:17 +00:00
Add tz as argument
This commit is contained in:
parent
738e96e9d6
commit
7ee8f4ad28
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
```
|
||||
|
|
Loading…
Reference in a new issue