[docker]: Add -c option in teamd docker Dockerfile (#348)
CMD is not longer a file name but a command that needs to be executed, thus /bin/bash is not enough for the entrypoint and -c is needed. Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
This commit is contained in:
parent
1a3bfc2236
commit
ad1b581111
@ -22,5 +22,5 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||||||
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
RUN apt-get clean -y; apt-get autoclean -y; apt-get autoremove -y
|
||||||
RUN rm -rf /debs
|
RUN rm -rf /debs
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/bash"]
|
ENTRYPOINT ["/bin/bash", "-c"]
|
||||||
CMD ["/usr/bin/config.sh && /usr/bin/start.sh"]
|
CMD ["/usr/bin/config.sh && /usr/bin/start.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user