summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw.de>2019-02-07 22:17:48 +0100
committerTobias Henkel <tobias.henkel@bmw.de>2020-02-22 17:59:24 +0100
commita13ec193c8b01d7519844af5f33a97678b58c16b (patch)
tree079450fbed008e8bc321dbd916cad15ab92182cb /Dockerfile
parentd48be299ab25990b484f3097d0cc74622fca484a (diff)
downloadzuul-a13ec193c8b01d7519844af5f33a97678b58c16b.tar.gz
Add foreground option
The current options stated as 'do not run as a daemon' is actually 'run in debug mode in foreground'. When running in container we actually want an option for running normally in foreground. Thus add a new option -f for foreground operations and change the docker imaged to use this accordingly. Change-Id: I16173a73dbfb79dc2c2b05c2002ac41e20a48225
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Dockerfile b/Dockerfile
index 93a99d0cd..e1f305184 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -60,16 +60,16 @@ COPY --from=builder /usr/local/lib/zuul/ /usr/local/lib/zuul
COPY --from=builder /tmp/openshift-install/kubectl /usr/local/bin/kubectl
COPY --from=builder /tmp/openshift-install/oc /usr/local/bin/oc
-CMD ["/usr/local/bin/zuul-executor"]
+CMD ["/usr/local/bin/zuul-executor", "-f"]
FROM zuul as zuul-fingergw
-CMD ["/usr/local/bin/zuul-fingergw"]
+CMD ["/usr/local/bin/zuul-fingergw", "-f"]
FROM zuul as zuul-merger
-CMD ["/usr/local/bin/zuul-merger"]
+CMD ["/usr/local/bin/zuul-merger", "-f"]
FROM zuul as zuul-scheduler
-CMD ["/usr/local/bin/zuul-scheduler"]
+CMD ["/usr/local/bin/zuul-scheduler", "-f"]
FROM zuul as zuul-web
-CMD ["/usr/local/bin/zuul-web"]
+CMD ["/usr/local/bin/zuul-web", "-f"]