Initial commit
This commit is contained in:
13
sftp/Dockerfile
Normal file
13
sftp/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM atmoz/sftp
|
||||
#ADD users.conf /etc/sftp/users.conf
|
||||
|
||||
ARG SSHKEY1
|
||||
ARG SSHKEY2
|
||||
#ARG SFTPUSERS
|
||||
|
||||
|
||||
RUN echo "${SSHKEY1}" | base64 --decode > /etc/ssh/ssh_host_ed25519_key
|
||||
RUN echo "${SSHKEY2}" | base64 --decode > /etc/ssh/ssh_host_rsa_key
|
||||
|
||||
#RUN echo ${SFTP_USERS} > /etc/test
|
||||
|
||||
1
sftp/users.conf
Normal file
1
sftp/users.conf
Normal file
@@ -0,0 +1 @@
|
||||
ftp-1:123:33:33
|
||||
Reference in New Issue
Block a user