Unbuffered stdout/stderr for RO 81/10281/2
authorsousaedu <eduardo.sousa@canonical.com>
Tue, 9 Feb 2021 13:39:12 +0000 (14:39 +0100)
committerbeierlm <mark.beierl@canonical.com>
Tue, 9 Feb 2021 14:52:19 +0000 (15:52 +0100)
Change-Id: I84cd18d5c2d8c09557e8030c6a97e01750f0f760
Signed-off-by: sousaedu <eduardo.sousa@canonical.com>
docker/RO/Dockerfile

index 89ed385..09281be 100644 (file)
@@ -99,5 +99,5 @@ HEALTHCHECK --start-period=130s --interval=10s --timeout=5s --retries=12 \
   CMD curl --silent --fail http://localhost:9090/ro || exit 1
   # CMD curl --silent --fail localhost:9090/openmano/tenants || exit 1
 # CMD /usr/bin/RO-start.sh
-CMD python3 -m osm_ng_ro.ro_main
+CMD ["python3", "-u", "-m", "osm_ng_ro.ro_main"]