add install ssh for assign-account
[why] need ssh-keygen to generate rsa public/private key for user
Signed-off-by: Luan Shengde shdluan@163.com --- container/assign-account/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/container/assign-account/Dockerfile b/container/assign-account/Dockerfile index f84b5e6..12faafa 100644 --- a/container/assign-account/Dockerfile +++ b/container/assign-account/Dockerfile @@ -2,13 +2,13 @@ # Copyright (c) 2020 Huawei Technologies Co., Ltd. All rights reserved.
FROM debian -MAINTAINER luanshd0525@163.com +MAINTAINER Luan Shengde shdluan@163.com ENV DEBIAN_FRONTEND noninteractive
COPY conf/sources.list* /etc/apt/
RUN apt-get update && \ - apt-get install -y ruby-sinatra ruby-json curl && \ + apt-get install -y ssh ruby-sinatra ruby-json curl && \ ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ echo 'Asia/Shanghai' > /etc/timezone COPY assign-account.rb /usr/local/bin/
On Thu, Nov 12, 2020 at 07:21:10PM +0800, Li Yuanchao wrote:
On Thu, Nov 12, 2020 at 07:09:18PM +0800, Luan Shengde wrote:
add install ssh for assign-account
add it or not are both ok just for clear description
Thanks, Luan Shengde
This is obvious in your code, so you can delete the above sentence
Thanks, Yuanchao