Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EOL issue with /entrypoint file editing on Windows and use GitHub Desktop to commit to Azure DevOps Git Repo #373

Open
vienleidl opened this issue Apr 24, 2023 · 0 comments · May be fixed by #374

Comments

@vienleidl
Copy link

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
vienleidl added a commit to vienleidl/sftp that referenced this issue Apr 25, 2023
@vienleidl vienleidl linked a pull request Apr 25, 2023 that will close this issue
@vienleidl 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant