[CORD-3090] Remove Filebeat logging
Change-Id: I4b1fae88d2ba53f74f2ea5f0f9ebc380eff33d8d
diff --git a/Dockerfile.synchronizer b/Dockerfile.synchronizer
index 5df9cd9..770f626 100644
--- a/Dockerfile.synchronizer
+++ b/Dockerfile.synchronizer
@@ -1,4 +1,3 @@
-
# Copyright 2017-present Open Networking Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -13,10 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-# docker build -t xosproject/kubernetes-synchronizer:candidate -f Dockerfile.synchronizer .
-
# xosproject/kubernetes-synchronizer
-
FROM xosproject/xos-synchronizer-base:candidate
COPY xos/synchronizer /opt/xos/synchronizers/kubernetes
@@ -31,8 +27,6 @@
COPY api_client.patch /tmp/api_client.patch
RUN patch -d /usr/local/lib/python2.7/dist-packages/kubernetes/client < /tmp/api_client.patch
-ENTRYPOINT []
-
WORKDIR "/opt/xos/synchronizers/kubernetes"
# Label image
@@ -64,5 +58,4 @@
org.opencord.component.xos.vcs-url=$org_opencord_component_xos_vcs_url \
org.opencord.component.xos.vcs-ref=$org_opencord_component_xos_vcs_ref
-CMD bash -c "service filebeat start; cd /opt/xos/synchronizers/kubernetes; python kubernetes-synchronizer.py"
-
+CMD ["/usr/bin/python", "/opt/xos/synchronizers/kubernetes/kubernetes-synchronizer.py"]