sftp
sftp copied to clipboard
Commad args for the user scripts
Hi.
I was checked the /entrypoint code and found that custom user scripts can't use command args because they haven't been passed
For e.g. I can't get user name or directory from the custom script.
Thanks.
Hello! Any solution for this problem?
It is possible to solve the problem by writing something like this in your Dockerfile:
FROM atmoz/sftp:alpine ... ENTRYPOINT ["/entrypoint", "/path/to/custom/script.sh"]