From db45f2f9dec69f3aa0012b2bc3ed2cd658fe9f5e Mon Sep 17 00:00:00 2001 From: "Maxime Chretien (MixLeNain)" Date: Sat, 24 Oct 2020 12:10:44 +0200 Subject: [PATCH] docker: Execute update.py with unbuffered output This allows to have real time logging while building the database. Signed-off-by: Maxime Chretien (MixLeNain) --- docker/centos/Dockerfile | 2 +- docker/debian/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/centos/Dockerfile b/docker/centos/Dockerfile index 2ab56f2..a22276a 100644 --- a/docker/centos/Dockerfile +++ b/docker/centos/Dockerfile @@ -65,7 +65,7 @@ ENV LXR_DATA_DIR /srv/elixir-data/$PROJECT/data RUN \ cd /usr/local/elixir/ && \ ./script.sh list-tags && \ - ./update.py + python3 -u ./update.py # apache elixir config, see elixir README # apache HttpProtolOptions workaround diff --git a/docker/debian/Dockerfile b/docker/debian/Dockerfile index 163ceae..f1adff5 100644 --- a/docker/debian/Dockerfile +++ b/docker/debian/Dockerfile @@ -57,7 +57,7 @@ ENV LXR_DATA_DIR /srv/elixir-data/$PROJECT/data RUN \ cd /usr/local/elixir/ && \ ./script.sh list-tags && \ - ./update.py + python3 -u ./update.py # apache elixir config, see elixir README # make apache less stricter about cgitb spam headers