add install ssh for assign-account [why] it's need to generate rsa private/public key for user need install ssh for ssh-keygen command
[how] add install ssh
Signed-off-by: Luan Shengde shdluan@163.com --- container/assign-account/Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/container/assign-account/Dockerfile b/container/assign-account/Dockerfile index f84b5e6..c1d360e 100644 --- a/container/assign-account/Dockerfile +++ b/container/assign-account/Dockerfile @@ -2,15 +2,14 @@ # 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 && \ - ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \ - echo 'Asia/Shanghai' > /etc/timezone + apt-get install -y ssh ruby-sinatra ruby-json curl + COPY assign-account.rb /usr/local/bin/ COPY get_account_info.rb /usr/local/bin/
On Wed, Nov 11, 2020 at 08:02:54PM +0800, Li Yuanchao wrote:
On Wed, Nov 11, 2020 at 04:56:16PM +0800, Luan Shengde wrote:
add install ssh for assign-account [why] it's need to generate rsa private/public key for user
it's need => it needs
I will fix it
thanks Luan Shengde
Thanks, Yuanchao