You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THe SFTP container is failed to load with the following errors:
/entrypoint: line 60: /usr/local/bin/create-sftp-user: Permission denied
/entrypoint: Error on line 60: create-sftp-user "$user"
I think it's caused by the /entrypoint file is recognized as CRLF file during Azure DevOps build and push to Azure Container Registry. Eventhough, the /entrypoint file has been already converted with Notepad++ (EOL conversion to Unix) or the following lines have been added into the Dockerfile already:
RUN dos2unix /entrypoint
RUN dos2unix /usr/local/bin/create-sftp-user
RUN chmod +x /entrypoint
The text was updated successfully, but these errors were encountered:
vienleidl
changed the title
EOL issue with /entrypoint file editing on Windows and use GitHub client to commit to Azure DevOps Git Repo
EOL issue with /entrypoint file editing on Windows and use GitHub Desktop to commit to Azure DevOps Git Repo
Apr 25, 2023
THe SFTP container is failed to load with the following errors:
I think it's caused by the /entrypoint file is recognized as CRLF file during Azure DevOps build and push to Azure Container Registry. Eventhough, the /entrypoint file has been already converted with Notepad++ (EOL conversion to Unix) or the following lines have been added into the Dockerfile already:
The text was updated successfully, but these errors were encountered: