[docker-syncd-*-rpc]: Fix build (#423)
* Fix docker-syncd-brcm-rpc build * Fix docker-syncd-mlnx-rpc build * Rename docker-syncd-rpc to docker-syncd-brcm-rpc * Add fix for mlnx platform too
This commit is contained in:
parent
42ae02b665
commit
91cca8966d
@ -1,4 +1,4 @@
|
||||
FROM docker-syncd
|
||||
FROM docker-syncd-brcm
|
||||
|
||||
## Make apt-get non-interactive
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
@ -43,7 +43,7 @@ RUN apt-get update \
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf
|
||||
|
||||
ENTRYPOINT service rsyslog start \
|
||||
&& sysctl -w net.core.rmem_max=509430500 \
|
||||
&& service syncd start \
|
||||
&& /usr/bin/supervisord
|
||||
RUN sed -i 's/read/sysctl -w net.core.rmem_max=509430500 ; \/usr\/bin\/supervisord/' /usr/bin/start.sh
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
CMD ["/usr/bin/start.sh"]
|
@ -43,7 +43,7 @@ RUN apt-get update \
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY ptf_nn_agent.conf /etc/supervisor/conf.d/ptf_nn_agent.conf
|
||||
|
||||
ENTRYPOINT service rsyslog start \
|
||||
&& sysctl -w net.core.rmem_max=509430500 \
|
||||
&& service syncd start \
|
||||
&& /usr/bin/supervisord
|
||||
RUN sed -i 's/read/sysctl -w net.core.rmem_max=509430500 ; \/usr\/bin\/supervisord/' /usr/bin/start.sh
|
||||
|
||||
ENTRYPOINT ["/bin/bash"]
|
||||
CMD ["/usr/bin/start.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user