mirror of https://github.com/CIRCL/AIL-framework
Add tz as argument
parent
738e96e9d6
commit
7ee8f4ad28
|
@ -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 New Issue