aboutsummaryrefslogtreecommitdiffstats
path: root/osmo-bts-master/Dockerfile
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-11-13 15:26:45 +0100
committerlaforge <laforge@osmocom.org>2019-11-19 18:29:00 +0000
commita9877bf4871533e55633ab2de03e308c46eba60a (patch)
tree20b332dc0a6e0e117e4b83a40f16c7e31326afbf /osmo-bts-master/Dockerfile
parentf19670453d79ccc40ab62449fb6f6427f8bf41f3 (diff)
Update osmo-*/Dockerfile to log stdout+stderr of process to log file
This way we get VTY parsing failures as well as backtraces upon process crash. Related: OS#4212 Change-Id: I9493ff73ef27c7c6d32b00cf827704b3f9cbf86a
Diffstat (limited to 'osmo-bts-master/Dockerfile')
-rw-r--r--osmo-bts-master/Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/osmo-bts-master/Dockerfile b/osmo-bts-master/Dockerfile
index a7f1145..b73f2ac 100644
--- a/osmo-bts-master/Dockerfile
+++ b/osmo-bts-master/Dockerfile
@@ -46,6 +46,6 @@ COPY osmo-bts.cfg /data/osmo-bts.cfg
WORKDIR /data
# send GSMTAP data to .230 which is the ttcn3-sysinfo test
-CMD ["/usr/local/bin/osmo-bts-virtual", "-i", "172.18.0.230"]
+CMD ["/bin/sh", "-c", "/usr/local/bin/osmo-bts-virtual -c /data/osmo-bts.cfg -i 172.18.0.230 >>/data/osmo-bts-virtual.log 2>&1"]
-#EXPOSE
+#EXPOSE