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/