mirror of
https://gitee.com/lijiahangmax/orion-ops.git
synced 2026-09-01 14:50:18 +08:00
add docker sftp config.
This commit is contained in:
@@ -4,6 +4,7 @@ RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/re
|
||||
apk update
|
||||
RUN apk add openjdk8
|
||||
RUN apk add openssh-server
|
||||
RUN apk add openssh-sftp-server
|
||||
RUN rm -rf /etc/nginx/conf.d/*
|
||||
RUN sed -i 's/#PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config && \
|
||||
ssh-keygen -t dsa -P '' -f /etc/ssh/ssh_host_dsa_key && \
|
||||
|
||||
Reference in New Issue
Block a user