github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/tiup/docker/control/Dockerfile (about)

     1  FROM golang:1.16
     2  
     3  RUN apt-get -y -q update && \
     4      apt-get -y -q install software-properties-common && \
     5      apt-get install -qqy \
     6          default-mysql-client \
     7          psmisc
     8  
     9  ADD bashrc /root/.bashrc
    10  ADD init.sh /init.sh
    11  RUN chmod +x /init.sh && \
    12      mkdir -p /root/.ssh && \
    13      echo "Host *\n    ServerAliveInterval 30\n    ServerAliveCountMax 3" >> /root/.ssh/config
    14  
    15  CMD /init.sh