From b87d66bf0cdcbd720b806ca3bf3a8dc7beaa44b7 Mon Sep 17 00:00:00 2001 From: wangzixiang <17839623189@163.com> Date: Tue, 4 Jun 2024 18:30:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit update --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d63ee00..7e10961 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN apt-get install -y openssh-server RUN ssh-keygen -t rsa -b 4096 -N "" -f /root/.ssh/id_rsa -CMD /bin/bash && ssh \ +RUN /bin/bash +CMD ssh \ -C \ -f \ -N \