更新 Dockerfile

update
This commit is contained in:
wangzixiang 2024-06-04 16:21:21 +08:00
parent bc15b415fb
commit 044ca77535
1 changed files with 2 additions and 2 deletions

View File

@ -7,9 +7,9 @@ RUN apt-get update
RUN apt-get install -y vim RUN apt-get install -y vim
RUN apt-get install -y net-tools RUN apt-get install -y net-tools
RUN apt-get install -y iputils-ping RUN apt-get install -y iputils-ping
RUN apt-get install -y openssh-server
CMD rm -rf /root/.ssh && mkdir /root/.ssh && cp -R /root/ssh/* /root/.ssh/ && chmod -R 600 /root/.ssh/* && \ CMD ssh \
ssh \
-C \ -C \
-f \ -f \
-N \ -N \