From 78a27a64c451b78a8e8fb6ff783209cc1fb69752 Mon Sep 17 00:00:00 2001 From: Pavel Shirshov Date: Tue, 17 Jan 2017 11:12:43 -0800 Subject: [PATCH] Don't wait until eth3 is up. We're doing it inside ptf agent now --- dockers/docker-ptf/Dockerfile.j2 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dockers/docker-ptf/Dockerfile.j2 b/dockers/docker-ptf/Dockerfile.j2 index db67c3261d36..85732eae35b0 100644 --- a/dockers/docker-ptf/Dockerfile.j2 +++ b/dockers/docker-ptf/Dockerfile.j2 @@ -79,5 +79,4 @@ COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf EXPOSE 22 -ENTRYPOINT while [ "x$( ifconfig eth3 | grep RUNNING )" = 'x' ] ; do sleep 1 ; done \ - && /usr/bin/supervisord +ENTRYPOINT ["/usr/bin/supervisord"]